Skip to content

Commit

Permalink
Add @enablePreview for JImageValidator that uses classfile API
Browse files Browse the repository at this point in the history
  • Loading branch information
jerboaa committed Dec 5, 2023
1 parent da69aa9 commit a797ea6
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/jdk/tools/jlink/JmodLess/AddOptionsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
* @summary Test --add-options jlink plugin in jmod-less mode
* @requires (vm.compMode != "Xcomp" & os.maxMemory >= 2g)
* @library ../../lib /test/lib
* @enablePreview
* @modules java.base/jdk.internal.classfile
* java.base/jdk.internal.jimage
* jdk.jlink/jdk.tools.jlink.internal
Expand Down
1 change: 1 addition & 0 deletions test/jdk/tools/jlink/JmodLess/BasicJlinkTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
* @summary Test basic jmod-less jlinking
* @requires (vm.compMode != "Xcomp" & os.maxMemory >= 2g)
* @library ../../lib /test/lib
* @enablePreview
* @modules java.base/jdk.internal.classfile
* java.base/jdk.internal.jimage
* jdk.jlink/jdk.tools.jlink.internal
Expand Down
1 change: 1 addition & 0 deletions test/jdk/tools/jlink/JmodLess/CustomModuleJlinkTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
* @summary Test jmod-less jlink with a custom module
* @requires (vm.compMode != "Xcomp" & os.maxMemory >= 2g)
* @library ../../lib /test/lib
* @enablePreview
* @modules java.base/jdk.internal.classfile
* java.base/jdk.internal.jimage
* jdk.jlink/jdk.tools.jlink.internal
Expand Down
1 change: 1 addition & 0 deletions test/jdk/tools/jlink/JmodLess/GenerateJLIClassesTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
* @summary Verify JLI class generation in run-time image link mode
* @requires (vm.compMode != "Xcomp" & os.maxMemory >= 2g)
* @library ../../lib /test/lib
* @enablePreview
* @modules java.base/jdk.internal.classfile
* java.base/jdk.internal.jimage
* jdk.jlink/jdk.tools.jlink.internal
Expand Down
1 change: 1 addition & 0 deletions test/jdk/tools/jlink/JmodLess/JavaSEReproducibleTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
* @summary Test reproducibility of jmod-less jlink of java.se
* @requires (vm.compMode != "Xcomp" & os.maxMemory >= 2g)
* @library ../../lib /test/lib
* @enablePreview
* @modules java.base/jdk.internal.classfile
* java.base/jdk.internal.jimage
* jdk.jlink/jdk.tools.jlink.internal
Expand Down
1 change: 1 addition & 0 deletions test/jdk/tools/jlink/JmodLess/ModifiedFilesExitTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* @summary Verify jlink fails by default when jlinking in jmod-less mode and files have been changed
* @requires (vm.compMode != "Xcomp" & os.maxMemory >= 2g)
* @library ../../lib /test/lib
* @enablePreview
* @modules java.base/jdk.internal.classfile
* java.base/jdk.internal.jimage
* jdk.jlink/jdk.tools.jlink.internal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
* @summary Verify warnings are being produced when jlinking in jmod-less mode and files have been changed
* @requires (vm.compMode != "Xcomp" & os.maxMemory >= 2g)
* @library ../../lib /test/lib
* @enablePreview
* @modules java.base/jdk.internal.classfile
* java.base/jdk.internal.jimage
* jdk.jlink/jdk.tools.jlink.internal
Expand Down
1 change: 1 addition & 0 deletions test/jdk/tools/jlink/JmodLess/MultiHopTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
* @summary Verify that a jlink unsing the run-image only is single-hop only
* @requires (vm.compMode != "Xcomp" & os.maxMemory >= 2g)
* @library ../../lib /test/lib
* @enablePreview
* @modules java.base/jdk.internal.classfile
* java.base/jdk.internal.jimage
* jdk.jlink/jdk.tools.jlink.internal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
* @summary Compare packaged-modules jlink with a jmod-less jlink to produce the same result
* @requires (vm.compMode != "Xcomp" & os.maxMemory >= 2g)
* @library ../../lib /test/lib
* @enablePreview
* @modules java.base/jdk.internal.classfile
* java.base/jdk.internal.jimage
* jdk.jlink/jdk.tools.jlink.internal
Expand Down
1 change: 1 addition & 0 deletions test/jdk/tools/jlink/JmodLess/SaveJlinkOptsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
* @summary Test --save-jlink-argfiles plugin in jmod-less mode
* @requires (vm.compMode != "Xcomp" & os.maxMemory >= 2g)
* @library ../../lib /test/lib
* @enablePreview
* @modules java.base/jdk.internal.classfile
* java.base/jdk.internal.jimage
* jdk.jlink/jdk.tools.jlink.internal
Expand Down
1 change: 1 addition & 0 deletions test/jdk/tools/jlink/JmodLess/SystemModulesTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
* @summary Test appropriate handling of generated SystemModules* classes in run-time image link mode
* @requires (vm.compMode != "Xcomp" & os.maxMemory >= 2g)
* @library ../../lib /test/lib
* @enablePreview
* @modules java.base/jdk.internal.classfile
* java.base/jdk.internal.jimage
* jdk.jlink/jdk.tools.jlink.internal
Expand Down
1 change: 1 addition & 0 deletions test/jdk/tools/jlink/JmodLess/SystemModulesTest2.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
* not consistently enabled/disabled.
* @requires (vm.compMode != "Xcomp" & os.maxMemory >= 2g)
* @library ../../lib /test/lib
* @enablePreview
* @modules java.base/jdk.internal.classfile
* java.base/jdk.internal.jimage
* jdk.jlink/jdk.tools.jlink.internal
Expand Down

0 comments on commit a797ea6

Please sign in to comment.