@@ -24,10 +24,12 @@ /* * @test * @bug 8066670 * @summary Testing -XX:+PrintSharedArchiveAndExit option * @library /testlibrary + * @build com.oracle.java.testlibrary.* + * @run main/othervm PrintSharedArchiveAndExit */ import com.oracle.java.testlibrary.*; public class PrintSharedArchiveAndExit {