changeset 22315:518f8ead5d01

Fix thread gets disposed on internal exception in PolyglotEngine.
author Christian Humer <christian.humer@oracle.com>
date Sun, 18 Oct 2015 19:42:47 +0200
parents e56d1a618f64
children 83d605e7fa57 2b1845933b6f
files truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/TruffleLanguage.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/TruffleLanguage.java	Fri Oct 16 18:28:21 2015 +0200
+++ b/truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/TruffleLanguage.java	Sun Oct 18 19:42:47 2015 +0200
@@ -470,7 +470,7 @@
             }
             try {
                 return target.call();
-            } catch (Exception ex) {
+            } catch (Throwable ex) {
                 throw new IOException(ex);
             }
         }