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: | Event Dispatching Thread is leaked | ||
---|---|---|---|
Product: | java | Reporter: | _ briansmith <briansmith> |
Component: | Unsupported | Assignee: | issues@java <issues> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Windows ME/2000 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | proposed (incomplete) patch for demonstration purposes only |
Description
_ briansmith
2002-12-12 09:50:51 UTC
Created attachment 8283 [details]
proposed (incomplete) patch for demonstration purposes only
The patch I just attached makes kills the thread when the repository is shutdown. Without the patch, the event dispatching thread remains in "wait" state after the repository is shut down. I thought that this fix was going to require a lot more work but actually it might do the job all by itself if try/finally blocks were added in MdrStorage.shutdown() (to make sure that the thread is stopped regardless of any errors encountered beforehand) and in NBMDRepositoryImpl.shutdown() (to set mdrStorage = null even if an execption occurred in mdrStorage.shutdown()). Patch integrated. Thanks! quiet for too long, verified |