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.
IDE tries to create ParserDB after each switch of project if the project contains mounted folder without java sources, but with capability "Use in Compiler" set to true. Any new folder (even empty) which is mounted has this capability set to true. It means that each such folder is searched (parsed) after project switch *but* actual no ParserDB is created, which results in parsing of the same folder without sources again and again after switching project. And also writing meaningless message about parsing into Status line after project switch.
Can have performance impact if user has number of folders without java sources mounted in project.
fixed in [maintrunk] diff: http://editor.netbeans.org/source/browse/editor/src/org/netbeans/modules/editor/java/JCUpdater.java.diff?r1=1.59&r2=1.60 Milan, if you think this bug deserves the integration into the [release35], please increase the priority. The fix is simple.
Raising prio, because it has possible performance impact. Will verify fix to be merged into release35.
Mila, could you please review the diff? Eman, Milan could you please verify it in tomorrow build? Thanks.
I've verified the fix in today's trunk build, it can be merged into release35.
It looks good in NB dev build 200304020100 on Linux with JDK 1.4.1_02. It can be merged into release35.
To be precise, I am attaching the patch for release35 also. Eman could you please, test it? Copy the attached JCUpdater.jar to <NB-install>/modules/patches/org-netbeans-modules-editor folder. Thanks.
Created attachment 9647 [details] Patch for release35. You can use -J-Dnetbeans.debug.editor.updater=true for testing with debug messages.
Patch verified by QA for nevada (release35).
I have reviewed the fix and it should be OK.
Verified in NB 3.5 20030401235 on Linux.
approved for 3.5
integrated into [release35] /cvs/editor/src/org/netbeans/modules/editor/java/JCUpdater.java,v <-- JCUpdater.java new revision: 1.56.2.3; previous revision: 1.56.2.2
Verified.