hotspot/test/runtime/modules/ModuleStress/ExportModuleStressTest.java
changeset 40631 ed82623d7831
parent 40244 b3055c216762
equal deleted inserted replaced
40629:514bf0744294 40631:ed82623d7831
    24 /**
    24 /**
    25  * @test
    25  * @test
    26  * @bug 8156871
    26  * @bug 8156871
    27  * @summary package in the boot layer is repeatedly exported to unique module created in layers on top of the boot layer
    27  * @summary package in the boot layer is repeatedly exported to unique module created in layers on top of the boot layer
    28  * @modules java.base/jdk.internal.misc
    28  * @modules java.base/jdk.internal.misc
    29  * @library /testlibrary /test/lib
    29  * @library /test/lib
    30  * @compile ../CompilerUtils.java
    30  * @compile ../CompilerUtils.java
    31  * @build ExportModuleStressTest
       
    32  * @run main/othervm ExportModuleStressTest
    31  * @run main/othervm ExportModuleStressTest
    33  */
    32  */
    34 
    33 
    35 import java.nio.file.Path;
    34 import java.nio.file.Path;
    36 import java.nio.file.Paths;
    35 import java.nio.file.Paths;
    37 import jdk.test.lib.*;
    36 import jdk.test.lib.process.ProcessTools;
       
    37 import jdk.test.lib.process.OutputAnalyzer;
    38 
    38 
    39 public class ExportModuleStressTest {
    39 public class ExportModuleStressTest {
    40 
    40 
    41     private static final String TEST_SRC = System.getProperty("test.src");
    41     private static final String TEST_SRC = System.getProperty("test.src");
    42     private static final String TEST_CLASSES = System.getProperty("test.classes");
    42     private static final String TEST_CLASSES = System.getProperty("test.classes");