@@ -27,11 +27,11 @@ * @requires vm.cds * @library /test/lib /test/hotspot/jtreg/runtime/appcds * @modules jdk.compiler * jdk.jartool/sun.tools.jar * jdk.jlink - * @run main ExportModule + * @run driver ExportModule * @summary Tests involve exporting a module from the module path to a jar in the -cp. */ import java.io.File; import java.nio.file.Files;