Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8263556: remove @modules java.base from tests #2990

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion test/hotspot/jtreg/gc/TestConcurrentGCBreakpoints.java
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion test/hotspot/jtreg/gc/TestJNIWeak/TestJNIWeak.java
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion test/hotspot/jtreg/gc/TestReferenceClearDuringMarking.java
Expand Up @@ -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:.
Expand Down
Expand Up @@ -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:.
Expand Down
1 change: 0 additions & 1 deletion test/hotspot/jtreg/gc/TestReferenceRefersTo.java
Expand Up @@ -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:.
Expand Down
Expand Up @@ -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:.
Expand Down
4 changes: 2 additions & 2 deletions test/hotspot/jtreg/gc/arguments/TestAggressiveHeap.java
@@ -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
Expand Down Expand Up @@ -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
*/

Expand Down
3 changes: 1 addition & 2 deletions test/hotspot/jtreg/gc/g1/TestPeriodicCollectionJNI.java
@@ -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
Expand Down Expand Up @@ -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
Expand Down
Expand Up @@ -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:.
Expand All @@ -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:.
Expand Down
@@ -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
Expand All @@ -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
*/

Expand Down
@@ -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
Expand All @@ -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
*/
Expand Down
3 changes: 1 addition & 2 deletions test/jdk/java/util/Formatter/Basic.java
@@ -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
Expand Down Expand Up @@ -28,7 +28,6 @@
* 6344623 6369500 6534606 6282094 6286592 6476425 5063507 6469160 6476168
* 8059175 8204229
*
* @modules java.base
* @run shell/timeout=240 Basic.sh
*/

Expand Down
5 changes: 2 additions & 3 deletions test/jdk/java/util/zip/ZipFile/Zip64SizeTest.java
@@ -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
Expand Down Expand Up @@ -38,7 +38,6 @@
* @test
* @bug 8226530
* @summary ZIP File System tests that leverage DirectoryStream
* @modules java.base
* @compile Zip64SizeTest.java
* @run testng Zip64SizeTest
*/
Expand Down Expand Up @@ -144,4 +143,4 @@ public void setUp() throws IOException {
public void tearDown() throws IOException {
deleteFiles();
}
}
}