private static DelegatingErrorManager getDefaultDelegate() { DelegatingErrorManager c = new DelegatingErrorManager(""); // NOI18N try { c.initialize(); synchronized (ErrorManager.class) { if (current == null) { current = c; // r is not null after c.initialize(); current.r.addLookupListener(current); } } } catch (RuntimeException e) { // #20467 e.printStackTrace(); current = c; } catch (LinkageError e) { // #20467 e.printStackTrace(); current = c; } return current; }
private static DelegatingErrorManager getDefaultDelegate() { DelegatingErrorManager c = new DelegatingErrorManager(""); // NOI18N try { c.initialize(); synchronized (ErrorManager.class) { if (current == null) { current = c; // r is not null after c.initialize(); current.r.addLookupListener(current); } } } catch (RuntimeException e) { // #20467 e.printStackTrace(); current = c; } catch (LinkageError e) { // #20467 e.printStackTrace(); current = c; } return current; }
private static DelegatingErrorManager getDefaultDelegate() { DelegatingErrorManager c = new DelegatingErrorManager(""); // NOI18N try { c.initialize(); synchronized (ErrorManager.class) { if (current == null) { current = c; // r is not null after c.initialize(); current.r.addLookupListener(current); } } } catch (RuntimeException e) { // #20467 e.printStackTrace(); current = c; } catch (LinkageError e) { // #20467 e.printStackTrace(); current = c; } return current; }
private static DelegatingErrorManager getDefaultDelegate() { DelegatingErrorManager c = new DelegatingErrorManager(""); // NOI18N try { c.initialize(); synchronized (ErrorManager.class) { if (current == null) { current = c; // r is not null after c.initialize(); current.r.addLookupListener(current); } } } catch (RuntimeException e) { // #20467 e.printStackTrace(); current = c; } catch (LinkageError e) { // #20467 e.printStackTrace(); current = c; } return current; }
private static DelegatingErrorManager getDefaultDelegate() { DelegatingErrorManager c = new DelegatingErrorManager(""); // NOI18N try { c.initialize(); synchronized (ErrorManager.class) { if (current == null) { current = c; // r is not null after c.initialize(); current.r.addLookupListener(current); } } } catch (RuntimeException e) { // #20467 e.printStackTrace(); current = c; } catch (LinkageError e) { // #20467 e.printStackTrace(); current = c; } return current; }
private static DelegatingErrorManager getDefaultDelegate() { DelegatingErrorManager c = new DelegatingErrorManager(""); // NOI18N try { c.initialize(); synchronized (ErrorManager.class) { if (current == null) { current = c; // r is not null after c.initialize(); current.r.addLookupListener(current); } } } catch (RuntimeException e) { // #20467 e.printStackTrace(); current = c; } catch (LinkageError e) { // #20467 e.printStackTrace(); current = c; } return current; }