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.
[custom build of 200410115 trunk; JDK 1.4.2_04] While trying to verify issue #47491, I pasted the following code fragment into a newly created class: static class MyTest extends JButton { public MyTest() { super("Ok"); addActionListener(new ActionListener() { // *this* }); } } ConcurrentModificationException was thrown immediately (stack trace attached).
Created attachment 18332 [details] Exception stack trace
Fixed. Checking in src/org/netbeans/modules/javacore/jmiimpl/javamodel/MetadataElement.java; /cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/MetadataElement.java,v <-- MetadataElement.java new revision: 1.35; previous revision: 1.34 done Checking in src/org/netbeans/modules/javacore/jmiimpl/javamodel/ResourceImpl.java; /cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/ResourceImpl.java,v <-- ResourceImpl.java new revision: 1.38; previous revision: 1.37 done Checking in src/org/netbeans/modules/javacore/jmiimpl/javamodel/SemiPersistentElement.java; /cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/SemiPersistentElement.java,v <-- SemiPersistentElement.java new revision: 1.50; previous revision: 1.49 done Processing log script arguments... More commits to come... Checking in src/org/netbeans/modules/javacore/parser/ResourceInfo.java; /cvs/java/javacore/src/org/netbeans/modules/javacore/parser/ResourceInfo.java,v <-- ResourceInfo.java new revision: 1.12; previous revision: 1.11 done
Verified in 4.2 (200507110943)
Reorganization of java component