8272551: mark hotspot runtime/modules tests which ignore external VM flags

Reviewed-by: mseledtsov, jiefu
This commit is contained in:
Igor Ignatyev 2021-08-17 19:37:45 +00:00
parent 05d64da7f3
commit fe72197102
20 changed files with 25 additions and 5 deletions

@ -25,6 +25,7 @@
* @test
* @bug 8202758
* @summary Ensure that if the JVM encounters a ClassLoader whose unnamedModule field is not set an InternalError results.
* @requires vm.flagless
* @modules java.base/jdk.internal.misc
* @library /test/lib
* @compile ClassLoaderNoUnnamedModule.java

@ -25,6 +25,7 @@
* @test
* @bug 8136930
* @summary Test that the VM ignores explicitly specified module internal properties.
* @requires vm.flagless
* @modules java.base/jdk.internal.misc
* @library /test/lib
* @run driver IgnoreModulePropertiesTest

@ -1,5 +1,5 @@
/*
* Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2016, 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
@ -26,6 +26,7 @@
* @bug 8136930
* @summary Test that the VM only recognizes the last specified --list-modules
* options but accumulates --add-module values.
* @requires vm.flagless
* @modules java.base/jdk.internal.misc
* @library /test/lib
* @run driver ModuleOptionsTest

@ -1,5 +1,5 @@
/*
* Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2016, 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,6 +25,7 @@
* @test
* @bug 8162415
* @summary Test warnings for ignored properties.
* @requires vm.flagless
* @modules java.base/jdk.internal.misc
* @library /test/lib
* @run driver ModuleOptionsWarn

@ -1,5 +1,5 @@
/*
* Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2016, 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,6 +25,7 @@
* @test
* @bug 8156871
* @summary package in the boot layer is repeatedly exported to unique module created in layers on top of the boot layer
* @requires vm.flagless
* @modules java.base/jdk.internal.misc
* @library /test/lib
* @compile ../CompilerUtils.java

@ -25,6 +25,7 @@
* @test
* @bug 8159262
* @summary Test differing scenarios where a module's readability list and a package's exportability list should be walked
* @requires vm.flagless
* @modules java.base/jdk.internal.misc
* @library /test/lib
* @compile ../AccessCheck/ModuleLibrary.java

@ -25,6 +25,7 @@
* @test
* @bug 8159262
* @summary layers over the boot layer are repeatedly created, during this iteration, GCs are forced to verify correct walk of module and package lists.
* @requires vm.flagless
* @modules java.base/jdk.internal.misc
* @library /test/lib
* @compile ../CompilerUtils.java

@ -28,6 +28,7 @@
* @summary Test with symbolic linked lib/modules
* @bug 8220095
* @requires os.family == "linux" | os.family == "mac"
* @requires vm.flagless
* @library /test/lib
* @modules java.management
* jdk.jlink

@ -24,6 +24,7 @@
/*
* @test
* @summary Make sure --patch-module works with multiple directories.
* @requires vm.flagless
* @modules java.base/jdk.internal.misc
* @library /test/lib
* @compile PatchModule2DirsMain.java

@ -25,6 +25,7 @@
* @test
* @requires vm.cds
* @summary test that --patch-module works with CDS
* @requires vm.flagless
* @library /test/lib
* @modules java.base/jdk.internal.misc
* jdk.jartool/sun.tools.jar

@ -1,5 +1,5 @@
/*
* Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2016, 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
@ -24,6 +24,7 @@
/*
* @test
* @summary VM exit initialization results if java.base is specificed more than once to --patch-module.
* @requires vm.flagless
* @modules java.base/jdk.internal.misc
* @library /test/lib
* @run driver PatchModuleDupJavaBase

@ -1,5 +1,5 @@
/*
* Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2016, 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
@ -24,6 +24,7 @@
/*
* @test
* @summary Module system initialization exception results if a module is specificed twice to --patch-module.
* @requires vm.flagless
* @modules java.base/jdk.internal.misc
* @library /test/lib
* @run driver PatchModuleDupModule

@ -25,6 +25,7 @@
* @test
* @bug 8130399
* @summary Make sure --patch-module works for java.base.
* @requires vm.flagless
* @modules java.base/jdk.internal.misc
* @library /test/lib
* @compile PatchModuleMain.java

@ -25,6 +25,7 @@
* @test
* @bug 8130399
* @summary Make sure --patch-module works for modules besides java.base.
* @requires vm.flagless
* @modules java.base/jdk.internal.misc
* @library /test/lib
* @compile PatchModuleMain.java

@ -24,6 +24,7 @@
/*
* @test
* @summary Make sure --patch-module works when a jar file is specified for a module
* @requires vm.flagless
* @library /test/lib
* @modules java.base/jdk.internal.misc
* jdk.jartool/sun.tools.jar

@ -24,6 +24,7 @@
/*
* @test
* @summary Make sure --patch-module works when a jar file and a directory is specified for a module
* @requires vm.flagless
* @library /test/lib
* @modules java.base/jdk.internal.misc
* jdk.jartool/sun.tools.jar

@ -26,6 +26,7 @@
* @bug 8069469
* @summary Make sure -Xlog:class+load=info works properly with "modules" jimage,
--patch-module, and with -Xbootclasspath/a
* @requires vm.flagless
* @modules java.base/jdk.internal.misc
* @library /test/lib
* @compile PatchModuleMain.java

@ -26,6 +26,7 @@
* @summary Ensure that a newly introduced java.base package placed within the --patch-module
* directory is considered part of the boot loader's visibility boundary
* @requires !(os.family == "windows")
* @requires vm.flagless
* @library /test/lib
* @modules java.base/jdk.internal.misc
* java.management

@ -25,6 +25,7 @@
* @test
* @summary Ensure that a class defined within a java.base package can not
* be located via -Xbootclasspath/a
* @requires vm.flagless
* @library /test/lib
* @modules java.base/jdk.internal.misc
* java.management

@ -26,6 +26,7 @@
* @summary Ensure that a package whose module has not been defined to the boot loader
* is correctly located with -Xbootclasspath/a
* @requires !(os.family == "windows")
* @requires vm.flagless
* @library /test/lib
* @modules java.base/jdk.internal.misc
* java.management