--- old/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.test/src/org/graalvm/compiler/core/test/VerifyCallerSensitiveMethods.java 2019-03-28 07:36:48.808489881 +0100 +++ new/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.core.test/src/org/graalvm/compiler/core/test/VerifyCallerSensitiveMethods.java 2019-03-28 07:36:48.424487314 +0100 @@ -67,7 +67,7 @@ } @Override - protected boolean verify(StructuredGraph graph, PhaseContext context) { + protected void verify(StructuredGraph graph, PhaseContext context) { Invoke invoke = callsReflectionGetCallerClass(graph, context); Annotation annotation = graph.method().getAnnotation(callerSensitiveClass); if (invoke != null) { @@ -79,7 +79,6 @@ } else if (annotation != null) { throw new VerificationError(String.format("%s: method annotated with @CallerSensitive does not call Reflection.getCallerClass()", graph.method().format("%H.%n(%p)"))); } - return true; } private Invoke callsReflectionGetCallerClass(StructuredGraph graph, PhaseContext context) {