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.

Bug 44288 - Don't show Scan dialog if netbeans.close=true
Summary: Don't show Scan dialog if netbeans.close=true
Status: CLOSED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 4.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@java
URL:
Keywords: PERFORMANCE, T9Y
Depends on:
Blocks:
 
Reported: 2004-06-03 14:59 UTC by Marian Mirilovic
Modified: 2007-04-03 18:02 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exceptions from console (2.68 KB, text/plain)
2004-06-03 15:00 UTC, Marian Mirilovic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2004-06-03 14:59:21 UTC
[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..
Comment 1 Marian Mirilovic 2004-06-03 15:00:15 UTC
Created attachment 15461 [details]
Exceptions from console
Comment 2 Martin Matula 2004-06-03 16:06:57 UTC
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
Comment 3 Marian Mirilovic 2004-06-09 10:15:35 UTC
verified in [nb_dev](200406082045)