< prev index next >
src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.phases/src/org/graalvm/compiler/phases/verify/VerifyBailoutUsage.java
Print this page
rev 52509 : [mq]: graal
@@ -46,11 +46,20 @@
return classNameWithPackage.substring(0, classNameWithPackage.length() - simpleName.length() - 1);
}
static {
try {
- AllowedPackagePrefixes = new String[]{getPackageName(PermanentBailoutException.class), "jdk.vm.ci"};
+ AllowedPackagePrefixes = new String[]{
+ getPackageName(PermanentBailoutException.class),
+ "jdk.vm.ci",
+
+ // Allows GraalTruffleRuntime.handleAnnotationFailure to throw
+ // a BailoutException since the org.graalvm.compiler.truffle.runtime
+ // project can not see the PermanentBailoutException or
+ // RetryableBailoutException types.
+ "org.graalvm.compiler.truffle.runtime"
+ };
} catch (Throwable t) {
throw new GraalError(t);
}
}
< prev index next >