This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 87896 - deprecated warning in gotodeclaration module
Summary: deprecated warning in gotodeclaration module
Status: CLOSED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: alms
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-24 18:15 UTC by _ gordonp
Modified: 2007-12-27 16:13 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ gordonp 2006-10-24 18:15:08 UTC
Compiling 7 source files to /export/pucci2/nb55/cnd/gotodeclaration/build/classes
/export/pucci2/nb55/cnd/gotodeclaration/src/org/netbeans/modules/cnd/gotodeclaration/ui/SearchDialogPanel.java:234:
warning: [deprecation] setLabel(java.lang.String) in javax.swing.AbstractButton
has been deprecated
        caseSensCheckbox.setLabel(I18n.getMessage("SEARCH_DIALOG_caseSensitive"));
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
Comment 1 Vladimir Voskresensky 2006-10-24 21:06:47 UTC
Is it P1?
deprecated method call is in guarded generated block of initComponents method.
So, this code generated by Matisse.
Comment 2 _ gordonp 2006-10-24 21:17:34 UTC
It should at least be evaluated as a P1. Its possible its a Matisse bug but
it could also be a user error. I didn't look closely (although I did see it
was in a guarded block) but does the user have any control over how and what
gets created? In the case of text strings in bundle files the user does. So
its at least possible this case is the same (hence the P1).

If its not the case and the user has no control then an IZ should be filed
on Matisse. Then this could be downgraded to P3 and the nb IZ listed as a
blocker.
Comment 3 alms 2006-10-25 10:47:42 UTC
Fixed.

[CVS]
Checking in SearchDialogPanel.form;
/shared/data/ccvs/repository/cnd/gotodeclaration/src/org/netbeans/modules/cnd/gotodeclaration/ui/Attic/SearchDialogPanel.form,v
 <--  SearchDialogPanel.form
new revision: 1.1.2.2; previous revision: 1.1.2.1
done
Checking in SearchDialogPanel.java;
/shared/data/ccvs/repository/cnd/gotodeclaration/src/org/netbeans/modules/cnd/gotodeclaration/ui/Attic/SearchDialogPanel.java,v
 <--  SearchDialogPanel.java
new revision: 1.1.2.2; previous revision: 1.1.2.1
done