--- a/test/hotspot/jtreg/compiler/aot/SharedUsageTest.java Thu Jan 18 16:57:51 2018 -0800
+++ b/test/hotspot/jtreg/compiler/aot/SharedUsageTest.java Thu Jan 18 16:57:54 2018 -0800
@@ -28,7 +28,7 @@
* @modules java.base/jdk.internal.misc
* @build compiler.aot.SharedUsageTest
* compiler.aot.AotCompiler
- * @run main compiler.aot.AotCompiler -libname libSharedUsageTest.so
+ * @run driver compiler.aot.AotCompiler -libname libSharedUsageTest.so
* -class compiler.aot.SharedUsageTest
* -extraopt -XX:-UseCompressedOops
* @run main/othervm -XX:+UseAOT -XX:AOTLibrary=./libSharedUsageTest.so