[hg] main-silver: #228820: Assure that the InvocationExceptionTr...

  • From:
  • To:
  • Subject: [hg] main-silver: #228820: Assure that the InvocationExceptionTr...
  • Date: Thu, 06 Jun 2013 08:52:01 -0700

changeset eaedba6a037a in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/eaedba6a037a
description:
        #228820: Assure that the InvocationExceptionTranslated is using the 
evaluation thread for it's invocations.

diffstat:

 debugger.jpda/src/org/netbeans/modules/debugger/jpda/expr/TreeEvaluator.java 
|  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff --git 
a/debugger.jpda/src/org/netbeans/modules/debugger/jpda/expr/TreeEvaluator.java
 
b/debugger.jpda/src/org/netbeans/modules/debugger/jpda/expr/TreeEvaluator.java
--- 
a/debugger.jpda/src/org/netbeans/modules/debugger/jpda/expr/TreeEvaluator.java
+++ 
b/debugger.jpda/src/org/netbeans/modules/debugger/jpda/expr/TreeEvaluator.java
@@ -279,7 +279,8 @@
             ieex.initCause(itsex);
             throw ieex;
         } catch (InvocationException iex) {
-            Throwable ex = new InvocationExceptionTranslated(iex, debugger);
+            InvocationExceptionTranslated ex = new 
InvocationExceptionTranslated(iex, debugger);
+            ex.setPreferredThread(debugger.getThread(evaluationThread));
             InvalidExpressionException ieex = new InvalidExpressionException 
(ex);
             ieex.initCause(ex);
             throw ieex;

[hg] main-silver: #228820: Assure that the InvocationExceptionTr...

mentlicher 06/06/2013

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 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close