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.
Summary: | Run project during classpath scanning blocks AWT | ||
---|---|---|---|
Product: | java | Reporter: | _ tboudreau <tboudreau> |
Component: | Project | Assignee: | Tomas Zezula <tzezula> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 110136 | ||
Bug Blocks: | |||
Attachments: | thread dump |
Description
_ tboudreau
2007-02-27 16:23:35 UTC
Created attachment 38952 [details]
thread dump
The J2SEActionProvider should use the runWhenScanFinished rather than runUserActionTask. Caused by excludes. The ClassPath was changed to call ClassPathImplementation.getResources() in the SPIListener (called synchronously from the AWT). The getResources() may be expensive for GlobalSourcePath - it calls SFBQ which is slow. The only thing which may help is to fire changes from GlobalSourcePath asynchronously - probably doesn't matter. Checking in nbproject/project.xml; /cvs/java/j2seproject/nbproject/project.xml,v <-- project.xml new revision: 1.53; previous revision: 1.52 done Checking in src/org/netbeans/modules/java/j2seproject/J2SEActionProvider.java; /cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/J2SEActionProvider.java,v <-- J2SEActionProvider.java new revision: 1.59; previous revision: 1.58 done |