--- old/test/hotspot/jtreg/compiler/aot/calls/fromAot/AotInvokeDynamic2AotTest.java 2019-07-18 13:58:05.927315889 +0530 +++ new/test/hotspot/jtreg/compiler/aot/calls/fromAot/AotInvokeDynamic2AotTest.java 2019-07-18 13:58:05.687313763 +0530 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -36,7 +36,8 @@ * @run driver compiler.aot.AotCompiler -libname AotInvokeDynamic2AotTest.so * -class compiler.calls.common.InvokeDynamic * -extraopt -XX:+UnlockDiagnosticVMOptions -extraopt -XX:+WhiteBoxAPI -extraopt -Xbootclasspath/a:. - * @run main/othervm -XX:+UseAOT -XX:AOTLibrary=./AotInvokeDynamic2AotTest.so + * @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseAOT + * -XX:AOTLibrary=./AotInvokeDynamic2AotTest.so * -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. * compiler.calls.common.InvokeDynamic * -checkCallerCompileLevel -1 -checkCalleeCompileLevel -1