[hg] main-silver: Be sure, that we wait for the components of th...

  • From:
  • To:
  • Subject: [hg] main-silver: Be sure, that we wait for the components of th...
  • Date: Wed, 14 Nov 2012 10:43:15 -0800

changeset 674750bb6560 in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/674750bb6560
description:
        Be sure, that we wait for the components of the given engine to 
initialize.

diffstat:

 
spi.debugger.ui/src/org/netbeans/modules/debugger/ui/DebuggerManagerListener.java
 |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git 
a/spi.debugger.ui/src/org/netbeans/modules/debugger/ui/DebuggerManagerListener.java
 
b/spi.debugger.ui/src/org/netbeans/modules/debugger/ui/DebuggerManagerListener.java
--- 
a/spi.debugger.ui/src/org/netbeans/modules/debugger/ui/DebuggerManagerListener.java
+++ 
b/spi.debugger.ui/src/org/netbeans/modules/debugger/ui/DebuggerManagerListener.java
@@ -400,7 +400,7 @@
             final Map<EngineComponentsProvider, List<? extends 
ComponentInfo>> openedWindowsByProvider = openedComponents.remove(engine);
             if (openedWindowsByProvider != null) {
                 // If it's not filled yet by AWT, wait...
-                if (openedWindowsByProvider.size() == 1 && 
openedWindowsByProvider.containsKey(null)) {
+                while (openedWindowsByProvider.size() == 1 && 
openedWindowsByProvider.containsKey(null)) {
                     try {
                        openedComponents.wait();
                     } catch (InterruptedException iex) {}

[hg] main-silver: Be sure, that we wait for the components of th...

mentlicher 11/14/2012

Project Features

About this Project

Debugger was started in November 2009, is owned by tpavek, and has 29 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close