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.
[nb_dev](200406021800), [jdk1.5.0](b51) Performance team has tests for measuring startup time of IDE with ten opened files .... test case is : - run IDE with clean userdir - open jEdit project - open 10 files - restart IDE (with -J-Dnetbeans.close) -> now we grab last paint event as the stop for timer, and report measured time To test it run measure startup time tests from performance module : ant -Dnetbeans.dest.dir=/path_to_local_copy_of_netbeans _dir -Dxtest.testtype=unit -Dxtest.attribs=measure_startup_opened_files PROBLEM : - after restart IDE , Scan dialog is shown and it's never finished!, because IDE is closed and exception are loogged (see attached stack traces) - it means last paint event comes from dialog ! COMMAND LINE : bin/netbeans -userdir Userdir_tiger_close -jdkhome j2sdk1_5_0 -J-Dnetbeans.close=true -J-Dnetbeans.full.hack=true -J-Dorg.netbeans.log.startup.logfile=/tmp/log.txt -J-Xbootclasspath/p:hack_jdk150.zip hack_jdk can be found in close source cvs qa/performance module..
Created attachment 15461 [details] Exceptions from console
Fixed. Checking in src/org/netbeans/modules/javacore/JavaCoreModule.java; /cvs/java/javacore/src/org/netbeans/modules/javacore/JavaCoreModule.java,v <-- JavaCoreModule.java new revision: 1.3; previous revision: 1.2 done
verified in [nb_dev](200406082045)