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.
Product Version: NetBeans IDE Dev (Build 201310030001) Java: 1.7.0_21; Java HotSpot(TM) 64-Bit Server VM 23.21-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11 I have this code: @SuppressWarnings("CallToPrintStackTrace") public void dumpStack() { Thread.dumpStack(); } @SuppressWarnings("CallToThreadDumpStack") public void printStack() { try { throw new Exception(); } catch (Exception ex) { ex.printStackTrace(); } } I expected that first annotation should suppress warning in second function and vice versa but actually warnings suppressed this way...
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/acdf50ecf44a