Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8263556: remove @modules java.base from tests
Reviewed-by: dcubed, naoto, iris
  • Loading branch information
iignatev committed Mar 15, 2021
1 parent d6b5e18 commit d825198e55d07ea23128cd37612924f31eb086b4
@@ -26,7 +26,6 @@
/*
* @test TestConcurrentGCBreakpoints
* @summary Test of WhiteBox concurrent GC control.
* @modules java.base
* @library /test/lib
* @build sun.hotspot.WhiteBox
* @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
@@ -28,7 +28,6 @@
* @summary Test return of JNI weak global refs during concurrent
* marking, verifying the use of the load barrier to keep the
* referent alive.
* @modules java.base
* @library /test/lib
* @build sun.hotspot.WhiteBox
* @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
@@ -27,7 +27,6 @@
* @bug 8240696
* @library /test/lib
* @build sun.hotspot.WhiteBox
* @modules java.base
* @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
* @run main/othervm
* -Xbootclasspath/a:.
@@ -29,7 +29,6 @@
* @requires vm.gc != "null"
* @library /test/lib
* @build sun.hotspot.WhiteBox
* @modules java.base
* @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
* @run main/othervm
* -Xbootclasspath/a:.
@@ -27,7 +27,6 @@
* @requires vm.gc != "Epsilon"
* @library /test/lib
* @build sun.hotspot.WhiteBox
* @modules java.base
* @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
* @run main/othervm
* -Xbootclasspath/a:.
@@ -27,7 +27,6 @@
* @requires vm.gc != "Shenandoah" | vm.opt.ShenandoahGCMode != "iu"
* @library /test/lib
* @build sun.hotspot.WhiteBox
* @modules java.base
* @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
* @run main/othervm
* -Xbootclasspath/a:.
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -30,7 +30,7 @@
* @summary Test argument processing for -XX:+AggressiveHeap.
* @library /test/lib
* @library /
* @modules java.base java.management
* @modules java.management
* @run driver gc.arguments.TestAggressiveHeap
*/

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2019, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -28,7 +28,6 @@
* @summary Test that issuing a periodic collection while the GC locker is
* held does not crash the VM.
* @requires vm.gc.G1
* @modules java.base
* @run main/othervm/native
* -Xbootclasspath/a:.
* -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
@@ -27,7 +27,6 @@
* @requires vm.gc.Shenandoah
* @library /test/lib
* @build sun.hotspot.WhiteBox
* @modules java.base
* @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
* @run main/othervm
* -Xbootclasspath/a:.
@@ -40,7 +39,6 @@
* @requires vm.gc.Shenandoah
* @library /test/lib
* @build sun.hotspot.WhiteBox
* @modules java.base
* @run driver jdk.test.lib.helpers.ClassFileInstaller sun.hotspot.WhiteBox
* @run main/othervm
* -Xbootclasspath/a:.
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -25,7 +25,6 @@
* @test
* @bug 8166188
* @summary Test call of native function with JNI weak global ref.
* @modules java.base
* @run main/othervm/native CallWithJNIWeak
*/

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -25,7 +25,6 @@
* @bug 8166188
* @requires vm.opt.ExplicitGCInvokesConcurrent != true
* @summary Test return of JNI weak global refs from native calls.
* @modules java.base
* @run main/othervm/native -Xint ReturnJNIWeak
* @run main/othervm/native -Xcomp ReturnJNIWeak
*/
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -28,7 +28,6 @@
* 6344623 6369500 6534606 6282094 6286592 6476425 5063507 6469160 6476168
* 8059175 8204229
*
* @modules java.base
* @run shell/timeout=240 Basic.sh
*/

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2019, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -38,7 +38,6 @@
* @test
* @bug 8226530
* @summary ZIP File System tests that leverage DirectoryStream
* @modules java.base
* @compile Zip64SizeTest.java
* @run testng Zip64SizeTest
*/
@@ -144,4 +143,4 @@ public void setUp() throws IOException {
public void tearDown() throws IOException {
deleteFiles();
}
}
}

0 comments on commit d825198

Please sign in to comment.