[hg] main-silver: #223732: Assure that the connectors are marked...

  • From:
  • To:
  • Subject: [hg] main-silver: #223732: Assure that the connectors are marked...
  • Date: Mon, 17 Dec 2012 10:17:50 -0800

changeset a6c8988979b5 in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/a6c8988979b5
description:
        #223732: Assure that the connectors are marked as set right after 
they are set.

diffstat:

 debugger.jpda.ui/src/org/netbeans/modules/debugger/jpda/ui/ConnectPanel.java 
|  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (27 lines):

diff --git 
a/debugger.jpda.ui/src/org/netbeans/modules/debugger/jpda/ui/ConnectPanel.java
 
b/debugger.jpda.ui/src/org/netbeans/modules/debugger/jpda/ui/ConnectPanel.java
--- 
a/debugger.jpda.ui/src/org/netbeans/modules/debugger/jpda/ui/ConnectPanel.java
+++ 
b/debugger.jpda.ui/src/org/netbeans/modules/debugger/jpda/ui/ConnectPanel.java
@@ -192,11 +192,6 @@
         } catch (InvocationTargetException ex) {
             Exceptions.printStackTrace(ex);
         }
-        
-        synchronized (connectorsLoaded) {
-            connectorsLoaded.set(true);
-            connectorsLoaded.notifyAll();
-        }
     }
     
     private void waitForConnectorsLoad() {
@@ -244,6 +239,11 @@
         cbConnectors.setSelectedIndex (defaultIndex);
         selectedConnector = connectors.get(defaultIndex);
         setCursor(standardCursor);
+        
+        synchronized (connectorsLoaded) {
+            connectorsLoaded.set(true);
+            connectorsLoaded.notifyAll();
+        }
     }
 
     /**

[hg] main-silver: #223732: Assure that the connectors are marked...

mentlicher 12/17/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