--- a/test/hotspot/jtreg/compiler/aot/calls/fromAot/AotInvokeDynamic2NativeTest.java Wed Jan 17 16:49:43 2018 -0800
+++ b/test/hotspot/jtreg/compiler/aot/calls/fromAot/AotInvokeDynamic2NativeTest.java Wed Jan 17 21:44:44 2018 -0800
@@ -31,7 +31,7 @@
* compiler.calls.common.InvokeDynamicPatcher
* compiler.aot.AotCompiler
* @run main compiler.calls.common.InvokeDynamicPatcher
- * @run main ClassFileInstaller sun.hotspot.WhiteBox
+ * @run driver ClassFileInstaller sun.hotspot.WhiteBox
* sun.hotspot.WhiteBox$WhiteBoxPermission
* @run main compiler.aot.AotCompiler -libname AotInvokeDynamic2NativeTest.so
* -class compiler.calls.common.InvokeDynamic