8199616: Fix @module declarations in tier1 tests

Reviewed-by: mchung, alanb
This commit is contained in:
Alexandre Iline 2018-03-16 03:15:35 -07:00
parent 703621f15f
commit 88af1f11ee
10 changed files with 13 additions and 2 deletions

View File

@ -41,6 +41,7 @@ import org.testng.TestNG;
/* /*
* @test * @test
* @library /test/lib * @library /test/lib
* @modules jdk.management
* @build jdk.test.lib.Utils * @build jdk.test.lib.Utils
* @run testng OnExitTest * @run testng OnExitTest
* @summary Functions of Process.onExit and ProcessHandle.onExit * @summary Functions of Process.onExit and ProcessHandle.onExit

View File

@ -26,6 +26,7 @@
* @library /lib/testlibrary /test/lib * @library /lib/testlibrary /test/lib
* @modules java.base/jdk.internal.module * @modules java.base/jdk.internal.module
* jdk.compiler * jdk.compiler
* jdk.jlink
* @build ModuleReaderTest jdk.test.lib.compiler.CompilerUtils JarUtils * @build ModuleReaderTest jdk.test.lib.compiler.CompilerUtils JarUtils
* @run testng ModuleReaderTest * @run testng ModuleReaderTest
* @summary Basic tests for java.lang.module.ModuleReader * @summary Basic tests for java.lang.module.ModuleReader

View File

@ -24,7 +24,7 @@
/** /**
* @test * @test
* @library modules * @library modules
* @modules java.scripting * @modules jdk.scripting.nashorn
* @run testng/othervm ReloadTest * @run testng/othervm ReloadTest
* @summary Basic test of ServiceLoader.reload * @summary Basic test of ServiceLoader.reload
*/ */

View File

@ -25,6 +25,7 @@
@bug 4241361 4842702 4985614 6646605 5032358 6923692 6233323 8144977 8186464 @bug 4241361 4842702 4985614 6646605 5032358 6923692 6233323 8144977 8186464
@summary Make sure we can read a zip file. @summary Make sure we can read a zip file.
@key randomness @key randomness
@modules jdk.zipfs
*/ */
import java.io.*; import java.io.*;

View File

@ -25,6 +25,8 @@
* @test * @test
* @library /lib/testlibrary /test/lib * @library /lib/testlibrary /test/lib
* @modules jdk.compiler * @modules jdk.compiler
* java.scripting
* jdk.zipfs
* @build RunWithAutomaticModules jdk.test.lib.compiler.CompilerUtils JarUtils * @build RunWithAutomaticModules jdk.test.lib.compiler.CompilerUtils JarUtils
* jdk.testlibrary.ProcessTools * jdk.testlibrary.ProcessTools
* @run testng RunWithAutomaticModules * @run testng RunWithAutomaticModules

View File

@ -28,6 +28,7 @@
* @modules jdk.jartool/sun.tools.jar * @modules jdk.jartool/sun.tools.jar
* jdk.httpserver * jdk.httpserver
* jdk.compiler * jdk.compiler
* jdk.zipfs
* @run main/othervm Basic * @run main/othervm Basic
*/ */

View File

@ -26,6 +26,7 @@
* @summary cannot load class names containing some JSR 202 characters; * @summary cannot load class names containing some JSR 202 characters;
* plugin does not escape unicode character in http request * plugin does not escape unicode character in http request
* @modules java.desktop/sun.applet * @modules java.desktop/sun.applet
* jdk.httpserver
* @compile -XDignore.symbol.file=true ClassnameCharTest.java * @compile -XDignore.symbol.file=true ClassnameCharTest.java
* @run main ClassnameCharTest * @run main ClassnameCharTest
*/ */

View File

@ -25,7 +25,8 @@
* @test * @test
* @bug 6575373 6969063 * @bug 6575373 6969063
* @summary verify default properties of the packer/unpacker and segment limit * @summary verify default properties of the packer/unpacker and segment limit
* @modules jdk.compiler * @modules java.logging
* jdk.compiler
* jdk.zipfs * jdk.zipfs
* @compile -XDignore.symbol.file Utils.java Pack200Props.java * @compile -XDignore.symbol.file Utils.java Pack200Props.java
* @run main Pack200Props * @run main Pack200Props

View File

@ -27,6 +27,8 @@
* @requires (sun.arch.data.model == "64" & os.maxMemory >= 4g) * @requires (sun.arch.data.model == "64" & os.maxMemory >= 4g)
* @summary test general packer/unpacker functionality * @summary test general packer/unpacker functionality
* using native and java unpackers * using native and java unpackers
* @modules jdk.management
* jdk.zipfs
* @compile -XDignore.symbol.file Utils.java Pack200Test.java * @compile -XDignore.symbol.file Utils.java Pack200Test.java
* @run main/othervm/timeout=1200 -Xmx1280m -Xshare:off Pack200Test * @run main/othervm/timeout=1200 -Xmx1280m -Xshare:off Pack200Test
*/ */

View File

@ -26,6 +26,7 @@
* @bug 8003639 * @bug 8003639
* @summary defaultMethod resolution and verification using an URLClassLoader * @summary defaultMethod resolution and verification using an URLClassLoader
* @modules jdk.compiler * @modules jdk.compiler
* jdk.zipfs
* @compile -XDignore.symbol.file=true DefaultMethodRegressionTestsRun.java * @compile -XDignore.symbol.file=true DefaultMethodRegressionTestsRun.java
* @run main DefaultMethodRegressionTestsRun * @run main DefaultMethodRegressionTestsRun
*/ */