< 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]: graal2

*** 46,56 **** return classNameWithPackage.substring(0, classNameWithPackage.length() - simpleName.length() - 1); } static { try { ! AllowedPackagePrefixes = new String[]{getPackageName(PermanentBailoutException.class), "jdk.vm.ci"}; } catch (Throwable t) { throw new GraalError(t); } } --- 46,65 ---- return classNameWithPackage.substring(0, classNameWithPackage.length() - simpleName.length() - 1); } static { try { ! 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 >