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: | Setting context classloader for AWT event thread is done too late | ||
---|---|---|---|
Product: | platform | Reporter: | David Strupl <dstrupl> |
Component: | Module System | Assignee: | Jesse Glick <jglick> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | issues |
Priority: | P3 | ||
Version: | 3.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 28536 | ||
Attachments: | Proposed patch |
Description
David Strupl
2003-08-18 22:35:38 UTC
Could you attach a -u format diff please? The contextless diff is hard to verify. Created attachment 11359 [details]
Proposed patch
Please note that I have changed invokeLater to invokeAndWait. Don't know whether that is really needed. As I said with this patch at work my xtest tests now running without problem. Could this be done even earlier? e.g. as soon as the module system knows the classloader? But maybe only in case something goes to AWT not to initialize AWT in a non gui session. So the method initializeMainWindow is probably the right place ... Will use invokeAndWait; would be necessary only if something in window mgr init uses it too (which I don't know about). Would rather not put this code elsewhere - as you say, do not want to initialize AWT unless it will be used. Will use invokeAndWait; would be necessary only if something in window mgr init uses it too (which I don't know about). Would rather not put this code elsewhere - as you say, do not want to initialize AWT unless it will be used. Did I mark this fixed? Sorry, not yet. committed Up-To-Date 1.169 core/src/org/netbeans/core/Main.java closed |