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 20474

Summary: Asynchronous MDR initialization/bootup
Product: java Reporter: Svata Dedic <sdedic>
Component: UnsupportedAssignee: Martin Matula <mmatula>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P4    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:

Description Svata Dedic 2002-02-12 17:58:54 UTC
When some GUI code tries to access the Repository, the AWT thread blocks up on
MDR initialization which takes some time.
I suggest that the MDR module API allows to start the initialization
asynchronously and obtain an initialization Task (org.openide.util.Task), which
can be waited on and which sends out an event when the initialization is complete.
Comment 1 Martin Matula 2002-02-13 14:06:00 UTC
This is a problem - very likely it is not a repository initialization
that takes the time - it is any JMI call that touches the repository
for the first time. The first request to a repository extent is slower
because the storage does not have anything in its cache yet.
Repository bootstrap is an exception - it probably can be done on some
other thread, however repository boots very rarely, so I changed the
priority of this issue to P4.
Comment 2 Martin Matula 2002-08-08 15:24:28 UTC
see above reasons