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.

View | Details | Raw Unified | Return to bug 28536
Collapse All | Expand All

(-)Main.java (-11 / +14 lines)
Line 262 Link Here
262
    
263
    // #28536: make sure a JRE bug does not prevent the event queue from having
264
    // the right context class loader
265
    // XXX this is a hack!
266
    try {
267
        SwingUtilities.invokeAndWait(new Runnable() {
268
            public void run() {
269
                Thread.currentThread().setContextClassLoader(getModuleSystem().getManager().getClassLoader());
270
            }
271
        });
272
    } catch (Exception ire) {
273
        ire.printStackTrace();
274
    }
Line 356 Link Here
356
369
    
357
--
Lines 360-368 Link Here
360
    
361
    // #28536: make sure a JRE bug does not prevent the event queue from having
362
    // the right context class loader
363
    // XXX this is a hack!
364
    SwingUtilities.invokeLater(new Runnable() {
365
        public void run() {
366
            Thread.currentThread().setContextClassLoader(getModuleSystem().getManager().getClassLoader());
367
        }
368
    });

Return to bug 28536