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.
org.openide.src elements created from class files has broken getModifiers() method. This is regression caused by fix of issue #50903.
Fixed in trunk. Checking in org/netbeans/modules/clazz/MemberElementImpl.java; /cvs/clazz/src/org/netbeans/modules/clazz/MemberElementImpl.java,v <-- MemberElementImpl.java new revision: 1.34; previous revision: 1.33 done
I have reviewed the proposed fix and agree with it.
Verified it works, I have tested ClassElement.hasMainMethod().
*** Issue 51156 has been marked as a duplicate of this issue. ***
Fixed also in release40 branch. Checking in MemberElementImpl.java; /cvs/clazz/src/org/netbeans/modules/clazz/MemberElementImpl.java,v <-- MemberElementImpl.java new revision: 1.33.2.1; previous revision: 1.33 done
Created attachment 18805 [details] Dump taken with 200411072021
Disregard the last dump. Sometimes the "Create a new attachment" link points to another issue.