Index: Main.java =================================================================== RCS file: /cvs/core/src/org/netbeans/core/Main.java,v retrieving revision 1.159.16.2 diff -r1.159.16.2 Main.java 261a262,274 > > // #28536: make sure a JRE bug does not prevent the event queue from having > // the right context class loader > // XXX this is a hack! > try { > SwingUtilities.invokeAndWait(new Runnable() { > public void run() { > Thread.currentThread().setContextClassLoader(getModuleSystem().getManager().getClassLoader()); > } > }); > } catch (Exception ire) { > ire.printStackTrace(); > } 356c369 < --- > 360,368d372 < < // #28536: make sure a JRE bug does not prevent the event queue from having < // the right context class loader < // XXX this is a hack! < SwingUtilities.invokeLater(new Runnable() { < public void run() { < Thread.currentThread().setContextClassLoader(getModuleSystem().getManager().getClassLoader()); < } < });