< prev index next >

test/jdk/tools/jlink/JLinkPluginsTest.java

Print this page

        

@@ -31,19 +31,20 @@
 
 /*
  * @test
  * @summary Test image creation
  * @author Jean-Francois Denise
+ * @requires (vm.compMode != "Xcomp" & os.maxMemory >= 2g)
  * @library ../lib
  * @modules java.base/jdk.internal.jimage
  *          jdk.jdeps/com.sun.tools.classfile
  *          jdk.jlink/jdk.tools.jlink.internal
  *          jdk.jlink/jdk.tools.jmod
  *          jdk.jlink/jdk.tools.jimage
  *          jdk.compiler
  * @build tests.*
- * @run main/othervm -verbose:gc -Xmx1g JLinkPluginsTest
+ * @run main/othervm/timeout=300 -verbose:gc -Xmx1g JLinkPluginsTest
  */
 public class JLinkPluginsTest {
 
     private static String createProperties(String fileName, String content) throws IOException {
         Path p = Paths.get(fileName);
< prev index next >