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.
How to reproduce: Have a project called Library. Create a Class called MyClass which extends, for example, java.util.ArrayList. Compile the project. Create a project called Application. Add a ${Library.dir}/dist/*.jar into the project dependencies/libraries using "Add Jar/Zip File..." in Project Settings dialog. Invoke an action which executes following code: JavaClass jc = findTheArrayListClass (); // this works Collection c = jc.findSubTypes (true); // ERROR - collection c does not contain MyClass.
Fixed in main trunk. Checking in src/org/netbeans/modules/javacore/ExclusiveMutex.java; /cvs/java/javacore/src/org/netbeans/modules/javacore/ExclusiveMutex.java,v <-- ExclusiveMutex.java new revision: 1.45; previous revision: 1.44 done Checking in src/org/netbeans/modules/refactoring/classpath/Util.java; /cvs/refactoring/src/org/netbeans/modules/refactoring/classpath/Util.java,v <-- Util.java new revision: 1.8; previous revision: 1.7 done
David, could you please verify the fix? Thanks in advance.
Me and Honza B reviewed the diff and it seems to be OK. We approve the fix for release41 branch.
Verified in release41.
Fixed in release41 branch. Checking in src/org/netbeans/modules/javacore/ExclusiveMutex.java; /cvs/java/javacore/src/org/netbeans/modules/javacore/ExclusiveMutex.java,v <-- ExclusiveMutex.java new revision: 1.43.4.4; previous revision: 1.43.4.3 done Checking in src/org/netbeans/modules/refactoring/classpath/Util.java; /cvs/refactoring/src/org/netbeans/modules/refactoring/classpath/Util.java,v <-- Util.java new revision: 1.7.2.1; previous revision: 1.7 done
Reorganization of java component