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.
The ClassPath.getRoots calls a SPI interface within a synchronized block which causes a deadlock in some cases.
Checking in src/org/netbeans/api/java/classpath/ClassPath.java; /cvs/java/api/src/org/netbeans/api/java/classpath/ClassPath.java,v <-- ClassPath.java new revision: 1.36; previous revision: 1.35 done
I think it would be good to integrate this in release55. What does QE think?
*** Issue 76149 has been marked as a duplicate of this issue. ***
The fix avoids calling ClassPathImplementation.getResources() inside a synchronized block in getRoots() and doesn't seem to break anything. I think it can be safely integrated in release55.
Integrated into release55: Checking in src/org/netbeans/api/java/classpath/ClassPath.java; /cvs/java/api/src/org/netbeans/api/java/classpath/ClassPath.java,v <-- ClassPath.java new revision: 1.33.28.1; previous revision: 1.33 done