changeset 19925:72afcc30c4a0

Truffle: truffle compilation might result in a CancellationException.
author Christian Humer <christian.humer@gmail.com>
date Wed, 18 Mar 2015 02:17:34 +0100
parents 470fb57cfb31
children 575d7607f827
files graal/com.oracle.graal.truffle.hotspot/src/com/oracle/graal/truffle/hotspot/HotSpotTruffleRuntime.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.truffle.hotspot/src/com/oracle/graal/truffle/hotspot/HotSpotTruffleRuntime.java	Wed Mar 18 01:46:01 2015 +0100
+++ b/graal/com.oracle.graal.truffle.hotspot/src/com/oracle/graal/truffle/hotspot/HotSpotTruffleRuntime.java	Wed Mar 18 02:17:34 2015 +0100
@@ -253,7 +253,7 @@
                 } else {
                     // silently ignored
                 }
-            } catch (InterruptedException e) {
+            } catch (InterruptedException | CancellationException e) {
                 // silently ignored
             }
         }