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.
Created attachment 144680 [details] testcase Product Version: NetBeans IDE Dev (Build 201401270001) Java: 1.8.0-ea; Java HotSpot(TM) 64-Bit Server VM 25.0-b66 Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b124 System: Windows 7 version 6.1 running on amd64; Cp1252; en_CA (nb) User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev This issue has come up no less than 6 times in Netbeans' history and it's back yet again, so before I continue might I suggest adding a unit test to prevent this failure from returning in the future? :) Repro steps: 1. Open attached testcase. 2. Open MyImplementation.java 3. Notice that method flagged with warning in spite of @SuppressWarnings("deprecation")
FWIW, I have filled: https://bugs.openjdk.java.net/browse/JDK-8033421
Thanks Jan!
not a NB hint issue :)
FYI, fixed for JDK9: http://hg.openjdk.java.net/jdk9/dev/langtools/rev/d1897a74e801
Thanks Jan! I can't wait for JDK8 update 40 which contains this fix :)
Okay. We've still got a problem. I upgraded to JDK 8 update 40, and indeed the compiler warning is gone at build-time, but the Editor warning annotation is still there. So it looks like Netbeans needs further work to fix this bug.
Reassigning to "hints" component.
nb-javac needs to be merged with more up-to-date upstream javac before this is fully reflected in NB (or the change would need to be cherry-picked).
Jan, Good point. Thanks for the head's up.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss