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
* @library /test/lib
* @modules jdk.management
* @build jdk.test.lib.Utils
* @run testng OnExitTest
* @summary Functions of Process.onExit and ProcessHandle.onExit

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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