Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
View | Details | Raw Unified | Return to bug 235748
Collapse All | Expand All

(-)openide.util.lookup/src/org/openide/util/lookup/ProxyLookup.java (+15 lines)
 Lines 570-576    Link Here 
570
            collectFires(null);
570
            collectFires(null);
571
        }
571
        }
572
        
572
        
573
        ThreadLocal<Boolean> IN = new ThreadLocal<Boolean>();
573
        protected void collectFires(Collection<Object> evAndListeners) {
574
        protected void collectFires(Collection<Object> evAndListeners) {
575
            Boolean prev = IN.get();
576
            if (Boolean.TRUE.equals(prev)) {
577
//                Thread.dumpStack();
578
                return;
579
            }
580
            try {
581
                IN.set(true);
582
                collImpl(evAndListeners);
583
            } finally {
584
                IN.set(prev);
585
            }
586
        }
587
        
588
        private void collImpl(Collection<Object> evAndListeners) {
574
            boolean modified = true;
589
            boolean modified = true;
575
590
576
            final Object[] ll;
591
            final Object[] ll;

Return to bug 235748
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo