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.
dev build 200708300000 Netbeans displays a "deprecation" hint even though my function is marked with @SuppressWarnings(value = "deprecation"). "Fixable Error -> Fix Code..." generates the exact same @SuppressWarning annotation and the hint still does not go away.
I assume the deprecated type is the return type of the method (or maybe the type of one of the parameters?). See: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6594914
No. My method is overriding a superclass method which is marked with @Deprecated.
Sorry, but overriding deprecated method seems to work OK for me (at least in recent builds). I was able to reproduce a problem with subclassing (I have enhanced bug 6594914) - see below. Also see http://bugs.sun.com/view_bug.do?bug_id=6460147 . package javaapplication5; @Deprecated public class A { } package javaapplication5; @SuppressWarnings("deprecation") public class B extends A { //reports "A is deprecated" here }
moving opened issues from TM <= 6.1 to TM=Dev
We cannot reproduce it. Please attach code snippet. Thanks.
Unfortunately I don't remember my original use-case and as such I can no longer reproduce it. Do you want to keep this issue open for the JDK bug you've discovered or should we close it as WORKSFORME?
The JDK bug should be closed as Won't fix since they have to be fixed on the JDK side.
This was fixed in JDK 7 so it would be good to see it now fixed in NB 8.