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.
[ BUILD # : 200711060000 ] [ JDK VERSION : 1.6.0_03 ] Repro: public void test() { if(true) { throw new Exception(); // Comment } else { System.out.println(); } } Now use hint in line with throw to surround with try/catch. Result: public void test() { if(true) { try { throw new Exception(); // Comment } catch (Exception ex) { Logger.getLogger(Test1.class.getName()).log(Level.SEVERE, null, ex); } // Comment } else { System.out.println(); } } Comment line is being duplicated!
Still broken in 6.0RC1.
Still broken in 6.1 (with all updates available until today).
Reproduced on 20090408 trunk.
Looks like duplicate of 120596
Looks like it is, thanks. *** This issue has been marked as a duplicate of 124499 ***