8081347: Add @modules to jdk_core tests
Reviewed-by: alanb, joehw, lancea
Contributed-by: alexander.kulyakhtin@oracle.com, alan.bateman@oracle.com, mandy.chung@oracle.com
--- a/jdk/test/com/sun/corba/transport/KeepAliveSockets.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/com/sun/corba/transport/KeepAliveSockets.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,7 @@
* @bug 8017195
* @summary Introduce option to setKeepAlive parameter on CORBA sockets
*
+ * @modules java.corba/com.sun.corba.se.impl.orb java.corba/com.sun.corba.se.impl.transport
* @run main/othervm KeepAliveSockets
* @run main/othervm -Dcom.sun.CORBA.transport.enableTcpKeepAlive KeepAliveSockets
* @run main/othervm -Dcom.sun.CORBA.transport.enableTcpKeepAlive=true KeepAliveSockets
--- a/jdk/test/com/sun/crypto/provider/Cipher/AES/TestAESCiphers/TestAESWithProviderChange.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/com/sun/crypto/provider/Cipher/AES/TestAESCiphers/TestAESWithProviderChange.java Thu May 28 10:54:48 2015 -0700
@@ -27,6 +27,7 @@
* @bug 8044193
* @summary Test AES ciphers with different modes and padding schemes after
* remove then add provider.
+ * @modules java.base/com.sun.crypto.provider
* @run main/othervm/policy=testAES.policy TestAESWithProviderChange
*/
--- a/jdk/test/com/sun/crypto/provider/Cipher/KeyWrap/XMLEncKAT.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/com/sun/crypto/provider/Cipher/KeyWrap/XMLEncKAT.java Thu May 28 10:54:48 2015 -0700
@@ -24,9 +24,10 @@
/*
* @test
* @bug 5008159 5008156
- * @run main XMLEncKAT
* @summary Verify that the two key wrap ciphers, i.e. "DESedeWrap"
* and "AESWrap", work as expected.
+ * @modules java.base/sun.misc
+ * @run main XMLEncKAT
* @author Valerie Peng
*/
import java.security.Key;
--- a/jdk/test/com/sun/crypto/provider/TLS/TestKeyMaterial.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/com/sun/crypto/provider/TLS/TestKeyMaterial.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,7 @@
* @bug 6313661
* @summary Known-answer-test for TlsKeyMaterial generator
* @author Andreas Sterbenz
+ * @modules java.base/sun.security.internal.spec
*/
import java.io.*;
--- a/jdk/test/com/sun/crypto/provider/TLS/TestMasterSecret.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/com/sun/crypto/provider/TLS/TestMasterSecret.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,8 @@
* @bug 6313661
* @summary Known-answer-test for TlsMasterSecret generator
* @author Andreas Sterbenz
+ * @modules java.base/sun.security.internal.interfaces
+ * java.base/sun.security.internal.spec
*/
import java.io.*;
--- a/jdk/test/com/sun/crypto/provider/TLS/TestPRF.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/com/sun/crypto/provider/TLS/TestPRF.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,7 @@
* @bug 6313661
* @summary Basic known-answer-test for TlsPrf
* @author Andreas Sterbenz
+ * @modules java.base/sun.security.internal.spec
*/
import java.io.*;
--- a/jdk/test/com/sun/crypto/provider/TLS/TestPRF12.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/com/sun/crypto/provider/TLS/TestPRF12.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/**
* @test
* @bug 6313661
+ * @modules java.base/sun.security.internal.spec
* @summary Basic known-answer-test for TlsPrf 12
*
* Vector obtained from the IETF TLS working group mailing list:
--- a/jdk/test/com/sun/crypto/provider/TLS/TestPremaster.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/com/sun/crypto/provider/TLS/TestPremaster.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,7 @@
* @bug 6313661
* @summary Basic tests for TlsRsaPremasterSecret generator
* @author Andreas Sterbenz
+ * @modules java.base/sun.security.internal.spec
*/
import java.security.Security;
--- a/jdk/test/com/sun/jndi/cosnaming/CNNameParser.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/com/sun/jndi/cosnaming/CNNameParser.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @bug 4238914
* @summary Tests that JNDI/COS naming parser supports the syntax
* defined in the new INS standard.
+ * @modules java.corba/com.sun.jndi.cosnaming
*/
import javax.naming.*;
--- a/jdk/test/com/sun/jndi/cosnaming/IiopUrlIPv6.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/com/sun/jndi/cosnaming/IiopUrlIPv6.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/* @test
* @bug 5042453
* @summary Ipv6 address throws Non-numeric port number error
+ * @modules java.corba/com.sun.jndi.cosnaming
*/
import com.sun.jndi.cosnaming.*;
--- a/jdk/test/com/sun/jndi/dns/Parser.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/com/sun/jndi/dns/Parser.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 8035105
* @summary DNS resource record parsing
+ * @modules jdk.naming.dns/com.sun.jndi.dns
*/
import com.sun.jndi.dns.ResourceRecord;
--- a/jdk/test/com/sun/jndi/ldap/Base64Test.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/com/sun/jndi/ldap/Base64Test.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 8035807
* @summary Confirm that old and new Base64 encodings are compatible.
+ * @modules java.base/sun.misc
*/
import java.io.*;
--- a/jdk/test/com/sun/jndi/ldap/LdapName/Case.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/com/sun/jndi/ldap/LdapName/Case.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,7 @@
* @bug 4278094
* @summary Ensure that setValuesCaseSensitive() does not leave name
* in an invalid state.
+ * @modules java.naming/com.sun.jndi.ldap
*/
import com.sun.jndi.ldap.LdapName;
--- a/jdk/test/com/sun/jndi/ldap/LdapName/UnescapeTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/com/sun/jndi/ldap/LdapName/UnescapeTest.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,7 @@
* @bug 4892070
* @summary java gets hung in
* com.sun.jndi.ldap.LdapName$TypeAndValue.unescapeValue()
+ * @modules java.naming/com.sun.jndi.ldap
*/
import com.sun.jndi.ldap.LdapName;
--- a/jdk/test/com/sun/jndi/ldap/LdapURLOptionalFields.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/com/sun/jndi/ldap/LdapURLOptionalFields.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 8074761
* @summary RFC-2255 allows attribute, scope and filter to be empty.
+ * @modules java.naming/com.sun.jndi.ldap
*/
import com.sun.jndi.ldap.LdapURL;
--- a/jdk/test/com/sun/jndi/ldap/LdapUnicodeURL.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/com/sun/jndi/ldap/LdapUnicodeURL.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 6961765
* @summary Double byte characters corrupted in DN for LDAP referrals
+ * @modules java.naming/com.sun.jndi.ldap
*/
import com.sun.jndi.ldap.LdapURL;
--- a/jdk/test/com/sun/jndi/rmi/registry/RegistryContext/ContextWithNullProperties.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/com/sun/jndi/rmi/registry/RegistryContext/ContextWithNullProperties.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,8 @@
* @test
* @bug 6676075
* @summary RegistryContext (com.sun.jndi.url.rmi.rmiURLContext) coding problem
+ * @modules jdk.naming.rmi/com.sun.jndi.rmi.registry java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server java.rmi/sun.rmi.transport java.rmi/sun.rmi.transport.tcp
* @library ../../../../../../java/rmi/testlibrary
* @build TestLibrary
* @run main ContextWithNullProperties
--- a/jdk/test/com/sun/jndi/rmi/registry/RegistryContext/UnbindIdempotent.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/com/sun/jndi/rmi/registry/RegistryContext/UnbindIdempotent.java Thu May 28 10:54:48 2015 -0700
@@ -25,7 +25,9 @@
* @test
* @bug 4278121
* @summary Ensure that calling unbind() on an unbound name returns
- * successfully.
+ * successfully.
+ * @modules java.rmi/sun.rmi.registry java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport java.rmi/sun.rmi.transport.tcp
* @library ../../../../../../java/rmi/testlibrary
* @build TestLibrary
* @run main UnbindIdempotent
--- a/jdk/test/com/sun/management/VMOptionOpenDataTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/com/sun/management/VMOptionOpenDataTest.java Thu May 28 10:54:48 2015 -0700
@@ -31,6 +31,8 @@
* @test
* @bug 8042901
* @summary Check that MappedMXBeanType.toOpenTypeData supports VMOption
+ * @modules java.management/sun.management
+ * jdk.management/com.sun.management
* @author Shanliang Jiang
*/
public class VMOptionOpenDataTest {
--- a/jdk/test/com/sun/net/ssl/SSLSecurity/ProviderTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/com/sun/net/ssl/SSLSecurity/ProviderTest.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/*
* @test
* @bug 4667976
+ * @modules java.base/com.sun.net.ssl
* @compile JavaxSSLContextImpl.java ComSSLContextImpl.java
* JavaxTrustManagerFactoryImpl.java ComTrustManagerFactoryImpl.java
* JavaxKeyManagerFactoryImpl.java ComKeyManagerFactoryImpl.java
--- a/jdk/test/com/sun/net/ssl/SSLSecurity/TruncateArray.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/com/sun/net/ssl/SSLSecurity/TruncateArray.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 4665824
* @summary JSSE - ClassCastException with 1.4
+ * @modules java.base/com.sun.net.ssl
*/
import com.sun.net.ssl.*;
--- a/jdk/test/com/sun/org/apache/xml/internal/security/TruncateHMAC.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/com/sun/org/apache/xml/internal/security/TruncateHMAC.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,10 @@
* @bug 6824440 6858484
* @summary Check that Apache XMLSec APIs will not accept HMAC truncation
* lengths less than minimum bound
+ * @modules java.xml.crypto/com.sun.org.apache.xml.internal.security
+ * java.xml.crypto/com.sun.org.apache.xml.internal.security.c14n
+ * java.xml.crypto/com.sun.org.apache.xml.internal.security.signature
+ * java.xml.crypto/com.sun.org.apache.xml.internal.security.utils
* @compile -XDignore.symbol.file TruncateHMAC.java
* @run main TruncateHMAC
*/
--- a/jdk/test/com/sun/org/apache/xml/internal/security/exceptions/LocaleTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/com/sun/org/apache/xml/internal/security/exceptions/LocaleTest.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,7 @@
* @bug 6454215
* @summary Make sure there are no runtime errors when throwing Apache XML
* Security exceptions in a non-US default locale.
+ * @modules java.xml.crypto/com.sun.org.apache.xml.internal.security.exceptions
* @compile -XDignore.symbol.file LocaleTest.java
* @run main LocaleTest
*/
--- a/jdk/test/com/sun/org/apache/xml/internal/security/transforms/ClassLoaderTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/com/sun/org/apache/xml/internal/security/transforms/ClassLoaderTest.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,8 @@
* @test
* @author Sean Mullan
* @bug 6461674 8009217 7147060
+ * @modules java.xml.crypto/com.sun.org.apache.xml.internal.security.exceptions
+ * java.xml.crypto/com.sun.org.apache.xml.internal.security.transforms
* @compile -XDignore.symbol.file ClassLoaderTest.java MyTransform.java
* @run main/othervm ClassLoaderTest
* @summary Ensure Transform.register works with transform implementations
--- a/jdk/test/com/sun/org/apache/xml/internal/security/utils/UnsyncByteArrayOutputStream/BufferOverflowTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/com/sun/org/apache/xml/internal/security/utils/UnsyncByteArrayOutputStream/BufferOverflowTest.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,7 @@
* @bug 6954275
* @summary Check that UnsyncByteArrayOutputStream does not
* throw ArrayIndexOutOfBoundsException
+ * @modules java.xml.crypto/com.sun.org.apache.xml.internal.security.utils
* @compile -XDignore.symbol.file BufferOverflowTest.java
* @run main BufferOverflowTest
*/
--- a/jdk/test/com/sun/security/sasl/ntlm/NTLMTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/com/sun/security/sasl/ntlm/NTLMTest.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,8 @@
* @test
* @bug 6911951 7150092
* @summary NTLM should be a supported Java SASL mechanism
+ * @modules java.base/sun.misc
+ * java.security.sasl
*/
import java.io.IOException;
import javax.security.sasl.*;
--- a/jdk/test/com/sun/tools/attach/BasicTests.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/com/sun/tools/attach/BasicTests.java Thu May 28 10:54:48 2015 -0700
@@ -37,6 +37,7 @@
* @test
* @bug 6173612 6273707 6277253 6335921 6348630 6342019 6381757
* @summary Basic unit tests for the VM attach mechanism.
+ * @modules jdk.jartool/sun.tools.jar
* @library /lib/testlibrary
* @modules java.instrument
* java.management
--- a/jdk/test/com/sun/tools/attach/PermissionTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/com/sun/tools/attach/PermissionTest.java Thu May 28 10:54:48 2015 -0700
@@ -32,6 +32,7 @@
* @test
* @bug 6173612 6273707 6277253 6335921 6348630 6342019 6381757
* @summary Basic unit tests for the VM attach mechanism.
+ * @modules jdk.jartool/sun.tools.jar
* @library /lib/testlibrary
* @modules java.management
* jdk.attach
--- a/jdk/test/com/sun/tools/attach/ProviderTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/com/sun/tools/attach/ProviderTest.java Thu May 28 10:54:48 2015 -0700
@@ -32,6 +32,7 @@
* @test
* @bug 6173612 6273707 6277253 6335921 6348630 6342019 6381757
* @summary Basic unit tests for the VM attach mechanism.
+ * @modules jdk.jartool/sun.tools.jar
* @library /lib/testlibrary
* @modules java.management
* jdk.attach
--- a/jdk/test/com/sun/tools/attach/StartManagementAgent.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/com/sun/tools/attach/StartManagementAgent.java Thu May 28 10:54:48 2015 -0700
@@ -39,6 +39,7 @@
/*
* @test
* @summary Test for VirtualMachine.startManagementAgent and VirtualMachine.startLocalManagementAgent
+ * @modules jdk.jartool/sun.tools.jar
* @library /lib/testlibrary
* @modules java.management
* jdk.attach
--- a/jdk/test/com/sun/tools/attach/TempDirTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/com/sun/tools/attach/TempDirTest.java Thu May 28 10:54:48 2015 -0700
@@ -37,6 +37,7 @@
* @test
* @bug 8033104
* @summary Test to make sure attach and jvmstat works correctly when java.io.tmpdir is set
+ * @modules jdk.jartool/sun.tools.jar
* @library /lib/testlibrary
* @modules java.management
* jdk.jartool/sun.tools.jar
--- a/jdk/test/java/lang/Class/getSimpleName/GetSimpleNameTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/lang/Class/getSimpleName/GetSimpleNameTest.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/* @test
* @bug 8057919
* @summary Class.getSimpleName() should work for non-JLS compliant class names
+ * @modules java.base/jdk.internal.org.objectweb.asm
*/
import jdk.internal.org.objectweb.asm.*;
import static jdk.internal.org.objectweb.asm.Opcodes.*;
--- a/jdk/test/java/lang/ProcessBuilder/Basic.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/lang/ProcessBuilder/Basic.java Thu May 28 10:54:48 2015 -0700
@@ -29,6 +29,7 @@
* 4947220 7018606 7034570 4244896 5049299 8003488 8054494 8058464
* 8067796
* @summary Basic tests for Process and Environment Variable code
+ * @modules java.base/sun.misc
* @run main/othervm/timeout=300 Basic
* @run main/othervm/timeout=300 -Djdk.lang.Process.launchMechanism=fork Basic
* @author Martin Buchholz
--- a/jdk/test/java/lang/ProcessBuilder/RedirectWithLongFilename.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/lang/ProcessBuilder/RedirectWithLongFilename.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 8072611
* @summary ProcessBuilder Redirect to file appending on Windows should work with long file names
+ * @modules java.base/sun.misc
* @author Thomas Stuefe
*/
--- a/jdk/test/java/lang/annotation/AnnotationsInheritanceOrderRedefinitionTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/lang/annotation/AnnotationsInheritanceOrderRedefinitionTest.java Thu May 28 10:54:48 2015 -0700
@@ -27,6 +27,7 @@
* @summary Test inheritance, order and class redefinition behaviour of RUNTIME
* class annotations
* @author plevart
+ * @modules java.base/sun.reflect.annotation
*/
import sun.reflect.annotation.AnnotationParser;
--- a/jdk/test/java/lang/invoke/8022701/MHIllegalAccess.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/lang/invoke/8022701/MHIllegalAccess.java Thu May 28 10:54:48 2015 -0700
@@ -26,7 +26,7 @@
* @test
* @bug 8022701
* @summary Illegal access exceptions via methodhandle invocations threw wrong error.
- *
+ * @modules java.base/jdk.internal.org.objectweb.asm
* @compile -XDignore.symbol.file BogoLoader.java InvokeSeveralWays.java MHIllegalAccess.java MethodSupplier.java
* @run main/othervm MHIllegalAccess
*/
--- a/jdk/test/java/lang/invoke/RevealDirectTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/lang/invoke/RevealDirectTest.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/*
* @test
* @summary verify Lookup.revealDirect on a variety of input handles
+ * @modules java.base/sun.reflect
* @compile -XDignore.symbol.file RevealDirectTest.java
* @run junit/othervm -ea -esa test.java.lang.invoke.RevealDirectTest
*
--- a/jdk/test/java/lang/invoke/VMAnonymousClass.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/lang/invoke/VMAnonymousClass.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/* @test
* @bug 8046903
* @summary VM anonymous class members can't be statically invocable
+ * @modules java.base/sun.misc java.base/jdk.internal.org.objectweb.asm
* @run junit test.java.lang.invoke.VMAnonymousClass
*/
package test.java.lang.invoke;
--- a/jdk/test/java/lang/invoke/accessProtectedSuper/Test.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/lang/invoke/accessProtectedSuper/Test.java Thu May 28 10:54:48 2015 -0700
@@ -26,7 +26,7 @@
* @test
* @bug 8022718
* @summary Runtime accessibility checking: protected class, if extended, should be accessible from another package
- *
+ * @modules java.base/jdk.internal.org.objectweb.asm
* @compile -XDignore.symbol.file BogoLoader.java MethodInvoker.java Test.java anotherpkg/MethodSupplierOuter.java
* @run main/othervm Test
*/
--- a/jdk/test/java/lang/invoke/lambda/LambdaAccessControlDoPrivilegedTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/lang/invoke/lambda/LambdaAccessControlDoPrivilegedTest.java Thu May 28 10:54:48 2015 -0700
@@ -76,7 +76,7 @@
doprivJava.delete();
doprivClass.delete();
tr = doExec(JAVA_CMD.getAbsolutePath(),
- "-Xbootclasspath/p:foo.jar",
+ "-Xbootclasspath/a:foo.jar",
"-cp", ".", "Bar");
tr.assertZero("testDoPrivileged fails");
barJava.delete();
--- a/jdk/test/java/lang/invoke/lambda/LambdaAsm.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/lang/invoke/lambda/LambdaAsm.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,8 @@
* @bug 8027232
* @summary ensures that j.l.i.InvokerByteCodeGenerator and ASM visitMethodInsn
* generate bytecodes with correct constant pool references
+ * @modules java.base/jdk.internal.org.objectweb.asm
+ * jdk.compiler/com.sun.tools.classfile
* @compile -XDignore.symbol.file LambdaAsm.java LUtils.java
* @run main/othervm LambdaAsm
*/
@@ -133,7 +135,7 @@
int mcount = 0;
try (DirectoryStream<Path> ds = newDirectoryStream(new File(".").toPath(),
// filter in lambda proxy classes
- "A$I$$Lambda$?.class")) {
+ "A$I$$Lambda$*.class")) {
for (Path p : ds) {
System.out.println(p.toFile());
ClassFile cf = ClassFile.read(p.toFile());
--- a/jdk/test/java/lang/invoke/lambda/LambdaStackTrace.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/lang/invoke/lambda/LambdaStackTrace.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 8025636
* @summary Synthetic frames should be hidden in exceptions
+ * @modules java.base/jdk.internal.org.objectweb.asm
* @compile -XDignore.symbol.file LUtils.java LambdaStackTrace.java
* @run main LambdaStackTrace
*/
--- a/jdk/test/java/lang/invoke/lookup/SpecialStatic.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/lang/invoke/lookup/SpecialStatic.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/* @test
* @bug 8032400
* @summary JSR292: invokeSpecial: InternalError attempting to lookup a method
+ * @modules java.base/jdk.internal.org.objectweb.asm
* @compile -XDignore.symbol.file SpecialStatic.java
* @run junit test.java.lang.invoke.lookup.SpecialStatic
*/
--- a/jdk/test/java/lang/reflect/Generics/TestBadSignatures.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/lang/reflect/Generics/TestBadSignatures.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,7 @@
* @bug 6832374 7052898
* @summary Test bad signatures get a GenericSignatureFormatError thrown.
* @author Joseph D. Darcy
+ * @modules java.base/sun.reflect.generics.parser
*/
import java.lang.reflect.*;
--- a/jdk/test/java/lang/reflect/Method/invoke/TestPrivateInterfaceMethodReflect.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/lang/reflect/Method/invoke/TestPrivateInterfaceMethodReflect.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,7 @@
* @bug 8026213
* @summary Reflection support for private methods in interfaces
* @author Robert Field
+ * @modules java.base/jdk.internal.org.objectweb.asm
* @run main TestPrivateInterfaceMethodReflect
*/
--- a/jdk/test/java/net/Authenticator/B4678055.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/net/Authenticator/B4678055.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/**
* @test
* @bug 4678055
+ * @modules java.base/sun.net.www
* @library ../../../sun/net/www/httptest/
* @build HttpCallback TestHttpServer ClosedChannelList HttpTransaction
* @run main B4678055
--- a/jdk/test/java/net/Authenticator/B4722333.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/net/Authenticator/B4722333.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/**
* @test
* @bug 4722333
+ * @modules java.base/sun.net.www
* @library ../../../sun/net/www/httptest/
* @build HttpCallback TestHttpServer ClosedChannelList HttpTransaction
* @run main B4722333
--- a/jdk/test/java/net/Authenticator/B4759514.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/net/Authenticator/B4759514.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/**
* @test
* @bug 4759514
+ * @modules java.base/sun.net.www
* @library ../../../sun/net/www/httptest/
* @build HttpCallback TestHttpServer ClosedChannelList HttpTransaction
* @run main B4759514
--- a/jdk/test/java/net/Authenticator/B4921848.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/net/Authenticator/B4921848.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/**
* @test
* @bug 4921848
+ * @modules java.base/sun.net.www
* @library ../../../sun/net/www/httptest/
* @build HttpCallback TestHttpServer ClosedChannelList HttpTransaction
* @run main/othervm -Dhttp.auth.preference=basic B4921848
--- a/jdk/test/java/net/Authenticator/B4962064.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/net/Authenticator/B4962064.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/**
* @test
* @bug 4962064
+ * @modules java.base/sun.net.www
* @library ../../../sun/net/www/httptest/
* @build HttpCallback TestHttpServer ClosedChannelList HttpTransaction
* @run main/othervm B4962064
--- a/jdk/test/java/net/Authenticator/B6870935.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/net/Authenticator/B6870935.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/**
* @test
* @bug 6870935
+ * @modules java.base/sun.net.www
* @run main/othervm -Dhttp.nonProxyHosts="" -Dhttp.auth.digest.validateProxy=true B6870935
*/
--- a/jdk/test/java/net/Inet4Address/textToNumericFormat.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/net/Inet4Address/textToNumericFormat.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 4749938
* @summary Bug in the parsing IPv4 literal addresses
+ * @modules java.base/sun.net.spi.nameservice
* @compile -XDignore.symbol.file=true DummyNameService.java DummyNameServiceDescriptor.java
* @run main/othervm -Dsun.net.spi.nameservice.provider.1=dummy,oracle textToNumericFormat
*/
--- a/jdk/test/java/net/ProxySelector/LoopbackAddresses.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/net/ProxySelector/LoopbackAddresses.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/* @test
* @bug 4924226
* @summary PIT: Can no launch jnlp application via 127.0.0.1 address on the web server
+ * @modules java.base/sun.net.www
* @library ../../../sun/net/www/httptest/
* @build ClosedChannelList TestHttpServer HttpTransaction HttpCallback
* @compile LoopbackAddresses.java
--- a/jdk/test/java/net/ProxySelector/ProxyTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/net/ProxySelector/ProxyTest.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 4696512
* @summary HTTP client: Improve proxy server configuration and selection
+ * @modules java.base/sun.net.www
* @library ../../../sun/net/www/httptest/
* @build ClosedChannelList TestHttpServer HttpTransaction HttpCallback
* @compile ProxyTest.java
--- a/jdk/test/java/net/Socket/HttpProxy.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/net/Socket/HttpProxy.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 6370908
* @summary Add support for HTTP_CONNECT proxy in Socket class
+ * @modules java.base/sun.net.www
*/
import java.io.IOException;
--- a/jdk/test/java/net/URL/PerConnectionProxy.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/net/URL/PerConnectionProxy.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/* @test
* @bug 4920526
* @summary Needs per connection proxy support for URLs
+ * @modules java.base/sun.net.www
* @library ../../../sun/net/www/httptest/
* @build ClosedChannelList TestHttpServer HttpTransaction HttpCallback
* @compile PerConnectionProxy.java
--- a/jdk/test/java/net/URL/SpecifyHandler.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/net/URL/SpecifyHandler.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,7 @@
* @bug 4135031
* @summary Test new URL contructors that allow specification of a
* URLStreamHandler protocol handler.
+ * @modules java.base/sun.net.www.protocol.file
*/
import java.net.*;
--- a/jdk/test/java/net/URLConnection/B5052093.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/net/URLConnection/B5052093.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/*
* @test
* @bug 5052093
+ * @modules java.base/sun.net.www java.base/sun.net.www.protocol.file
* @library ../../../sun/net/www/httptest/
* @build HttpCallback TestHttpServer ClosedChannelList HttpTransaction
* @run main B5052093
--- a/jdk/test/java/net/URLConnection/HandleContentTypeWithAttrs.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/net/URLConnection/HandleContentTypeWithAttrs.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,7 @@
* @bug 4160200
* @summary Make sure URLConnection.getContnentHandler
* can handle MIME types with attributes
+ * @modules java.base/sun.net.www java.base/sun.net.www.content.text
*/
import java.net.*;
import java.io.*;
--- a/jdk/test/java/nio/file/Files/InterruptCopy.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/nio/file/Files/InterruptCopy.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/* @test
* @bug 4313887 6993267
* @summary Unit test for Sun-specific ExtendedCopyOption.INTERRUPTIBLE option
+ * @modules java.base/com.sun.nio.file
* @library ..
*/
--- a/jdk/test/java/nio/file/Files/SBC.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/nio/file/Files/SBC.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @bug 4313887
* @summary Unit test for java.nio.file.Files.newByteChannel
* @library ..
+ * @modules java.base/com.sun.nio.file
*/
import java.nio.ByteBuffer;
--- a/jdk/test/java/nio/file/WatchService/FileTreeModifier.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/nio/file/WatchService/FileTreeModifier.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @bug 4313887 6838333
* @summary Sanity test for Sun-specific FILE_TREE watch event modifier
* @library ..
+ * @modules java.base/com.sun.nio.file
*/
import java.nio.file.*;
--- a/jdk/test/java/nio/file/WatchService/SensitivityModifier.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/nio/file/WatchService/SensitivityModifier.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/* @test
* @bug 4313887
* @summary Sanity test for Sun-specific sensitivity level watch event modifier
+ * @modules java.base/com.sun.nio.file
* @library ..
* @run main/timeout=240 SensitivityModifier
* @key randomness
--- a/jdk/test/java/nio/file/WatchService/WithSecurityManager.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/nio/file/WatchService/WithSecurityManager.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/* @test
* @bug 4313887
* @summary Unit test for Watchable#register's permission checks
+ * @modules java.base/com.sun.nio.file
* @build WithSecurityManager
* @run main/othervm WithSecurityManager denyAll.policy - fail
* @run main/othervm WithSecurityManager denyAll.policy tree fail
--- a/jdk/test/java/rmi/Naming/DefaultRegistryPort.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/Naming/DefaultRegistryPort.java Thu May 28 10:54:48 2015 -0700
@@ -27,6 +27,10 @@
* @summary change in default URL port causes regression in java.rmi.Naming
* @author Dana Burns
* @library ../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary
* @run main/othervm DefaultRegistryPort
*/
--- a/jdk/test/java/rmi/Naming/LookupIPv6.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/Naming/LookupIPv6.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,10 @@
* IPv6 addresses.
* @bug 4402708
* @library ../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary
* @run main/othervm -Djava.net.preferIPv6Addresses=true LookupIPv6
*/
--- a/jdk/test/java/rmi/Naming/LookupNameWithColon.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/Naming/LookupNameWithColon.java Thu May 28 10:54:48 2015 -0700
@@ -27,6 +27,10 @@
* containing embedded ':' characters.
*
* @library ../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary
* @run main/othervm LookupNameWithColon
*/
--- a/jdk/test/java/rmi/Naming/RmiIsNoScheme.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/Naming/RmiIsNoScheme.java Thu May 28 10:54:48 2015 -0700
@@ -29,6 +29,10 @@
* @author Ann Wollrath
*
* @library ../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary
* @run main/othervm RmiIsNoScheme
*/
--- a/jdk/test/java/rmi/Naming/UnderscoreHost.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/Naming/UnderscoreHost.java Thu May 28 10:54:48 2015 -0700
@@ -29,6 +29,10 @@
* @author Vinod Johnson
*
* @library ../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary UnderscoreHost_Stub
* @run main/othervm UnderscoreHost
*/
--- a/jdk/test/java/rmi/Naming/legalRegistryNames/LegalRegistryNames.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/Naming/legalRegistryNames/LegalRegistryNames.java Thu May 28 10:54:48 2015 -0700
@@ -27,6 +27,10 @@
* @summary Naming assumes '/' is present in relative URL; change in URL causes regression
* @author Dana Burns
* @library ../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary Legal LegalRegistryNames_Stub
* @run main/othervm LegalRegistryNames
*/
--- a/jdk/test/java/rmi/activation/Activatable/checkActivateRef/CheckActivateRef.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/activation/Activatable/checkActivateRef/CheckActivateRef.java Thu May 28 10:54:48 2015 -0700
@@ -36,6 +36,10 @@
* functionality is in place
*
* @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivateMe CheckActivateRef_Stub
* @run main/othervm/policy=security.policy/timeout=240 -Djava.rmi.server.ignoreStubClasses=true CheckActivateRef
* @run main/othervm/policy=security.policy/timeout=240 -Djava.rmi.server.ignoreStubClasses=false CheckActivateRef
--- a/jdk/test/java/rmi/activation/Activatable/checkAnnotations/CheckAnnotations.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/activation/Activatable/checkAnnotations/CheckAnnotations.java Thu May 28 10:54:48 2015 -0700
@@ -28,6 +28,10 @@
* @author Laird Dornin; code borrowed from Ann Wollrath
*
* @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID MyRMI CheckAnnotations_Stub
* @run main/othervm/policy=security.policy/timeout=480 CheckAnnotations
*/
--- a/jdk/test/java/rmi/activation/Activatable/checkImplClassLoader/CheckImplClassLoader.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/activation/Activatable/checkImplClassLoader/CheckImplClassLoader.java Thu May 28 10:54:48 2015 -0700
@@ -27,6 +27,10 @@
* @author Laird Dornin; code borrowed from Ann Wollrath
*
* @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID
* MyRMI ActivatableImpl ActivatableImpl ActivatableImpl_Stub
* @run main/othervm/policy=security.policy/timeout=150 CheckImplClassLoader
--- a/jdk/test/java/rmi/activation/Activatable/checkRegisterInLog/CheckRegisterInLog.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/activation/Activatable/checkRegisterInLog/CheckRegisterInLog.java Thu May 28 10:54:48 2015 -0700
@@ -27,6 +27,10 @@
* @author Ann Wollrath
*
* @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivationLibrary
* ActivateMe CheckRegisterInLog_Stub
* @run main/othervm/policy=security.policy/timeout=240 CheckRegisterInLog
--- a/jdk/test/java/rmi/activation/Activatable/createPrivateActivable/CreatePrivateActivatable.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/activation/Activatable/createPrivateActivable/CreatePrivateActivatable.java Thu May 28 10:54:48 2015 -0700
@@ -27,6 +27,10 @@
* @author Laird Dornin
*
* @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivateMe
* @run main/othervm/policy=security.policy/timeout=240 CreatePrivateActivatable
*/
--- a/jdk/test/java/rmi/activation/Activatable/downloadParameterClass/DownloadParameterClass.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/activation/Activatable/downloadParameterClass/DownloadParameterClass.java Thu May 28 10:54:48 2015 -0700
@@ -31,6 +31,10 @@
* @author Peter Jones (much code taken from Ann Wollrath's activation tests)
*
* @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivationLibrary
* Foo FooReceiverImpl FooReceiverImpl_Stub Bar
* @run main/othervm/policy=security.policy/timeout=240 DownloadParameterClass
--- a/jdk/test/java/rmi/activation/Activatable/elucidateNoSuchMethod/ElucidateNoSuchMethod.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/activation/Activatable/elucidateNoSuchMethod/ElucidateNoSuchMethod.java Thu May 28 10:54:48 2015 -0700
@@ -27,6 +27,10 @@
* @author Laird Dornin
*
* @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivateMe ElucidateNoSuchMethod_Stub
* @run main/othervm/policy=security.policy/timeout=240 ElucidateNoSuchMethod
*/
--- a/jdk/test/java/rmi/activation/Activatable/forceLogSnapshot/ForceLogSnapshot.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/activation/Activatable/forceLogSnapshot/ForceLogSnapshot.java Thu May 28 10:54:48 2015 -0700
@@ -27,6 +27,10 @@
* @author Laird Dornin
*
* @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivationLibrary
* ActivateMe ForceLogSnapshot_Stub
* @run main/othervm/policy=security.policy/timeout=640 ForceLogSnapshot
--- a/jdk/test/java/rmi/activation/Activatable/inactiveGroup/InactiveGroup.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/activation/Activatable/inactiveGroup/InactiveGroup.java Thu May 28 10:54:48 2015 -0700
@@ -29,6 +29,10 @@
* @author Ann Wollrath
*
* @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivationLibrary ActivateMe InactiveGroup_Stub
* @run main/othervm/policy=security.policy/timeout=240 InactiveGroup
*/
--- a/jdk/test/java/rmi/activation/Activatable/lookupActivationSystem/LookupActivationSystem.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/activation/Activatable/lookupActivationSystem/LookupActivationSystem.java Thu May 28 10:54:48 2015 -0700
@@ -29,6 +29,10 @@
* @author Ann Wollrath
*
* @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivationLibrary
* @run main/othervm/timeout=240 LookupActivationSystem
*/
--- a/jdk/test/java/rmi/activation/Activatable/nestedActivate/NestedActivate.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/activation/Activatable/nestedActivate/NestedActivate.java Thu May 28 10:54:48 2015 -0700
@@ -27,6 +27,10 @@
* @author Ann Wollrath
*
* @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivationLibrary ActivateMe NestedActivate_Stub
* @run main/othervm/policy=security.policy/timeout=240 NestedActivate
*/
--- a/jdk/test/java/rmi/activation/Activatable/nonExistentActivatable/NonExistentActivatable.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/activation/Activatable/nonExistentActivatable/NonExistentActivatable.java Thu May 28 10:54:48 2015 -0700
@@ -28,6 +28,10 @@
* @author Ann Wollrath
*
* @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivationLibrary
* ActivateMe NonExistentActivatable_Stub
* @run main/othervm/policy=security.policy/timeout=240 NonExistentActivatable
--- a/jdk/test/java/rmi/activation/Activatable/restartCrashedService/RestartCrashedService.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/activation/Activatable/restartCrashedService/RestartCrashedService.java Thu May 28 10:54:48 2015 -0700
@@ -28,6 +28,10 @@
* @author Ann Wollrath
*
* @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivateMe RestartCrashedService_Stub
* @run main/othervm/policy=security.policy/timeout=240 RestartCrashedService
*/
--- a/jdk/test/java/rmi/activation/Activatable/restartLatecomer/RestartLatecomer.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/activation/Activatable/restartLatecomer/RestartLatecomer.java Thu May 28 10:54:48 2015 -0700
@@ -27,6 +27,10 @@
* @author Ann Wollrath
*
* @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivationLibrary
* RestartLatecomer RestartLatecomer_Stub
* @run main/othervm/policy=security.policy/timeout=240 RestartLatecomer
--- a/jdk/test/java/rmi/activation/Activatable/restartService/RestartService.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/activation/Activatable/restartService/RestartService.java Thu May 28 10:54:48 2015 -0700
@@ -27,6 +27,10 @@
* @author Ann Wollrath
*
* @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivationLibrary ActivateMe RestartService_Stub
* @run main/othervm/policy=security.policy/timeout=240 RestartService
*/
--- a/jdk/test/java/rmi/activation/Activatable/shutdownGracefully/ShutdownGracefully.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/activation/Activatable/shutdownGracefully/ShutdownGracefully.java Thu May 28 10:54:48 2015 -0700
@@ -28,6 +28,10 @@
* @author Laird Dornin; code borrowed from Ann Wollrath
*
* @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID
* TestSecurityManager RegisteringActivatable ShutdownGracefully_Stub
* @run main/othervm/policy=security.policy/timeout=700 ShutdownGracefully
--- a/jdk/test/java/rmi/activation/Activatable/unregisterInactive/UnregisterInactive.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/activation/Activatable/unregisterInactive/UnregisterInactive.java Thu May 28 10:54:48 2015 -0700
@@ -28,6 +28,10 @@
* @author Ann Wollrath
*
* @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivationLibrary ActivateMe UnregisterInactive_Stub
* @run main/othervm/policy=security.policy/timeout=240 UnregisterInactive
*/
--- a/jdk/test/java/rmi/activation/ActivateFailedException/activateFails/ActivateFails.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/activation/ActivateFailedException/activateFails/ActivateFails.java Thu May 28 10:54:48 2015 -0700
@@ -31,6 +31,10 @@
* @author Ann Wollrath
*
* @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivationLibrary
* ActivateMe ActivateFails_Stub ShutdownThread
* @run main/othervm/java.security.policy=security.policy/timeout=240 ActivateFails
--- a/jdk/test/java/rmi/activation/ActivationGroup/downloadActivationGroup/DownloadActivationGroup.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/activation/ActivationGroup/downloadActivationGroup/DownloadActivationGroup.java Thu May 28 10:54:48 2015 -0700
@@ -32,6 +32,10 @@
* @author Ann Wollrath
*
* @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivationLibrary
* DownloadActivationGroup MyActivationGroupImpl DownloadActivationGroup_Stub
* @run main/othervm/policy=security.policy/timeout=240 DownloadActivationGroup
--- a/jdk/test/java/rmi/activation/ActivationGroupDesc/checkDefaultGroupName/CheckDefaultGroupName.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/activation/ActivationGroupDesc/checkDefaultGroupName/CheckDefaultGroupName.java Thu May 28 10:54:48 2015 -0700
@@ -30,6 +30,10 @@
* @author Laird Dornin
*
* @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary
* @run main CheckDefaultGroupName
*/
--- a/jdk/test/java/rmi/activation/ActivationSystem/activeGroup/IdempotentActiveGroup.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/activation/ActivationSystem/activeGroup/IdempotentActiveGroup.java Thu May 28 10:54:48 2015 -0700
@@ -29,6 +29,10 @@
* @author Ann Wollrath
*
* @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivationLibrary
* @run main/othervm/policy=security.policy/timeout=480 IdempotentActiveGroup
*/
--- a/jdk/test/java/rmi/activation/ActivationSystem/modifyDescriptor/ModifyDescriptor.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/activation/ActivationSystem/modifyDescriptor/ModifyDescriptor.java Thu May 28 10:54:48 2015 -0700
@@ -29,6 +29,10 @@
* @author Ann Wollrath
*
* @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivationLibrary
* ActivateMe ModifyDescriptor_Stub
* @run main/othervm/policy=security.policy/timeout=240 ModifyDescriptor
--- a/jdk/test/java/rmi/activation/ActivationSystem/stubClassesPermitted/StubClassesPermitted.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/activation/ActivationSystem/stubClassesPermitted/StubClassesPermitted.java Thu May 28 10:54:48 2015 -0700
@@ -27,6 +27,11 @@
* @author Laird Dornin
*
* @library ../../../testlibrary
+ * @modules java.base/sun.security.provider
+ * java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivationLibrary
* CanCreateStubs StubClassesPermitted_Stub
* @run main/othervm/java.security.policy=security.policy/secure=java.lang.SecurityManager/timeout=240 StubClassesPermitted
--- a/jdk/test/java/rmi/activation/ActivationSystem/unregisterGroup/UnregisterGroup.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/activation/ActivationSystem/unregisterGroup/UnregisterGroup.java Thu May 28 10:54:48 2015 -0700
@@ -28,6 +28,10 @@
* @author Ann Wollrath
*
* @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivationLibrary ActivateMe
* @run main/othervm/policy=security.policy UnregisterGroup
*/
--- a/jdk/test/java/rmi/activation/CommandEnvironment/SetChildEnv.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/activation/CommandEnvironment/SetChildEnv.java Thu May 28 10:54:48 2015 -0700
@@ -35,6 +35,10 @@
* @author Adrian Colley
*
* @library ../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivationLibrary
* Eliza Retireable Doctor Doctor_Stub
* @run main/othervm/timeout=240/policy=security.policy
--- a/jdk/test/java/rmi/activation/log/LogTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/activation/log/LogTest.java Thu May 28 10:54:48 2015 -0700
@@ -29,6 +29,7 @@
* boundaries
* @author Ann Wollrath
*
+ * @modules java.rmi/sun.rmi.log
* @run main/othervm/timeout=240 LogTest
*/
--- a/jdk/test/java/rmi/activation/rmidViaInheritedChannel/InheritedChannelNotServerSocket.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/activation/rmidViaInheritedChannel/InheritedChannelNotServerSocket.java Thu May 28 10:54:48 2015 -0700
@@ -29,6 +29,11 @@
* @author Peter Jones
*
* @library ../../testlibrary
+ * @modules java.base/sun.nio.ch
+ * java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivationLibrary
* @run main/othervm/timeout=240 InheritedChannelNotServerSocket
*/
--- a/jdk/test/java/rmi/activation/rmidViaInheritedChannel/RmidViaInheritedChannel.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/activation/rmidViaInheritedChannel/RmidViaInheritedChannel.java Thu May 28 10:54:48 2015 -0700
@@ -27,6 +27,11 @@
* @author Ann Wollrath
*
* @library ../../testlibrary
+ * @modules java.base/sun.nio.ch
+ * java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID ActivationLibrary
* @run main/othervm/timeout=240 RmidViaInheritedChannel
*/
--- a/jdk/test/java/rmi/dgc/VMID/CheckVMID.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/dgc/VMID/CheckVMID.java Thu May 28 10:54:48 2015 -0700
@@ -30,6 +30,10 @@
* @author Ann Wollrath
*
* @library ../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary
* @run main/othervm/policy=security.policy CheckVMID
*/
--- a/jdk/test/java/rmi/dgc/dgcImplInsulation/DGCImplInsulation.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/dgc/dgcImplInsulation/DGCImplInsulation.java Thu May 28 10:54:48 2015 -0700
@@ -31,6 +31,10 @@
* @author Peter Jones
*
* @library ../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary DGCImplInsulation_Stub
* @run main/othervm/policy=security.policy DGCImplInsulation
*/
--- a/jdk/test/java/rmi/invalidName/InvalidName.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/invalidName/InvalidName.java Thu May 28 10:54:48 2015 -0700
@@ -32,6 +32,10 @@
* @author Laird Dornin
*
* @library ../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary
* @run main/othervm InvalidName
*/
--- a/jdk/test/java/rmi/registry/altSecurityManager/AltSecurityManager.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/registry/altSecurityManager/AltSecurityManager.java Thu May 28 10:54:48 2015 -0700
@@ -27,6 +27,10 @@
* @author Laird Dornin
*
* @library ../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary JavaVM RMID TestSecurityManager
* @run main/othervm AltSecurityManager
*/
--- a/jdk/test/java/rmi/registry/classPathCodebase/ClassPathCodebase.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/registry/classPathCodebase/ClassPathCodebase.java Thu May 28 10:54:48 2015 -0700
@@ -30,6 +30,10 @@
* @author Peter Jones
*
* @library ../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary Dummy
* @run main/othervm/policy=security.policy
* -Djava.rmi.server.useCodebaseOnly=false ClassPathCodebase
--- a/jdk/test/java/rmi/registry/emptyName/EmptyName.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/registry/emptyName/EmptyName.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,10 @@
* @bug 4399304
* @summary check that registry allows empty names
* @library ../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary
* @run main/othervm EmptyName
*/
--- a/jdk/test/java/rmi/registry/interfaceHash/InterfaceHash.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/registry/interfaceHash/InterfaceHash.java Thu May 28 10:54:48 2015 -0700
@@ -36,6 +36,10 @@
*
* @author Peter Jones
* @library ../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary ReferenceRegistryStub
* @run main/othervm InterfaceHash
* @key intermittent
--- a/jdk/test/java/rmi/registry/multipleRegistries/MultipleRegistries.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/registry/multipleRegistries/MultipleRegistries.java Thu May 28 10:54:48 2015 -0700
@@ -27,6 +27,10 @@
* @author Ann Wollrath
*
* @library ../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary
* @run main/othervm/timeout=240 MultipleRegistries
*/
--- a/jdk/test/java/rmi/registry/reexport/Reexport.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/registry/reexport/Reexport.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,10 @@
* @bug 4120329
* @summary RMI registry creation is impossible if first attempt fails.
* @library ../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary JavaVM RegistryRunner RegistryRunner_Stub
* @run main/othervm Reexport
*/
--- a/jdk/test/java/rmi/reliability/benchmark/bench/rmi/Main.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/reliability/benchmark/bench/rmi/Main.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,11 @@
* @summary The RMI benchmark test. This java class is used to run the test
* under JTREG.
* @library ../../../../testlibrary ../../
+ * @modules java.desktop
+ * java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary bench.BenchInfo bench.HtmlReporter bench.Util
* bench.Benchmark bench.Reporter bench.XmlReporter bench.ConfigFormatException
* bench.Harness bench.TextReporter bench.rmi.BenchServer
--- a/jdk/test/java/rmi/reliability/juicer/AppleUserImpl.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/reliability/juicer/AppleUserImpl.java Thu May 28 10:54:48 2015 -0700
@@ -55,6 +55,10 @@
* has been reached.
*
* @library ../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary
* Apple AppleEvent AppleImpl
* Orange OrangeEcho OrangeEchoImpl OrangeImpl
--- a/jdk/test/java/rmi/server/RMIClassLoader/delegateBeforePermissionCheck/DelegateBeforePermissionCheck.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/server/RMIClassLoader/delegateBeforePermissionCheck/DelegateBeforePermissionCheck.java Thu May 28 10:54:48 2015 -0700
@@ -33,6 +33,10 @@
* @author Peter Jones
*
* @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary Foo
* @run main/othervm DelegateBeforePermissionCheck
*/
--- a/jdk/test/java/rmi/server/RMIClassLoader/delegateToContextLoader/DelegateToContextLoader.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/server/RMIClassLoader/delegateToContextLoader/DelegateToContextLoader.java Thu May 28 10:54:48 2015 -0700
@@ -29,6 +29,10 @@
* @author Peter Jones
*
* @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary Dummy
* @run main/othervm/policy=security.policy/timeout=120 DelegateToContextLoader
*/
--- a/jdk/test/java/rmi/server/RMIClassLoader/downloadArrayClass/DownloadArrayClass.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/server/RMIClassLoader/downloadArrayClass/DownloadArrayClass.java Thu May 28 10:54:48 2015 -0700
@@ -31,6 +31,10 @@
* @author Peter Jones
*
* @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary Receiver DownloadArrayClass_Stub Foo
* @run main/othervm/policy=security.policy DownloadArrayClass
*/
--- a/jdk/test/java/rmi/server/RMIClassLoader/getClassAnnotation/NullClass.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/server/RMIClassLoader/getClassAnnotation/NullClass.java Thu May 28 10:54:48 2015 -0700
@@ -28,6 +28,10 @@
* @author Ann Wollrath
*
* @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary
* @run main/othervm NullClass
*/
--- a/jdk/test/java/rmi/server/RMIClassLoader/getClassLoader/GetClassLoader.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/server/RMIClassLoader/getClassLoader/GetClassLoader.java Thu May 28 10:54:48 2015 -0700
@@ -29,6 +29,10 @@
* @author Ann Wollrath
*
* @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary Foo
* @run main/othervm/policy=security.policy GetClassLoader
*/
--- a/jdk/test/java/rmi/server/RMIClassLoader/loadProxyClasses/LoadProxyClasses.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/server/RMIClassLoader/loadProxyClasses/LoadProxyClasses.java Thu May 28 10:54:48 2015 -0700
@@ -30,6 +30,10 @@
* @author Laird Dornin
*
* @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary FnnClass FnnUnmarshal NonpublicInterface
* NonpublicInterface1 PublicInterface PublicInterface1
* @run main/othervm/policy=security.policy
--- a/jdk/test/java/rmi/server/RMIClassLoader/spi/ContextInsulation.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/server/RMIClassLoader/spi/ContextInsulation.java Thu May 28 10:54:48 2015 -0700
@@ -30,6 +30,10 @@
* @author Peter Jones
*
* @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary ServiceConfiguration TestProvider TestProvider2
* @run main/othervm/policy=security.policy ContextInsulation
*/
--- a/jdk/test/java/rmi/server/RMIClassLoader/spi/DefaultProperty.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/server/RMIClassLoader/spi/DefaultProperty.java Thu May 28 10:54:48 2015 -0700
@@ -29,6 +29,10 @@
* @author Peter Jones
*
* @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary ServiceConfiguration Foo
* @run main/othervm/policy=security.policy DefaultProperty
*/
--- a/jdk/test/java/rmi/server/RMIClassLoader/spi/Installed.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/server/RMIClassLoader/spi/Installed.java Thu May 28 10:54:48 2015 -0700
@@ -29,6 +29,10 @@
* @author Peter Jones
*
* @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary ServiceConfiguration TestProvider TestProvider2
* @run main/othervm/policy=security.policy Installed
*/
--- a/jdk/test/java/rmi/server/RMIClassLoader/spi/InvalidProperty.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/server/RMIClassLoader/spi/InvalidProperty.java Thu May 28 10:54:48 2015 -0700
@@ -29,6 +29,10 @@
* @author Peter Jones
*
* @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary ServiceConfiguration
* @run main/othervm/policy=security.policy InvalidProperty
*/
--- a/jdk/test/java/rmi/server/RMIClassLoader/spi/Property.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/server/RMIClassLoader/spi/Property.java Thu May 28 10:54:48 2015 -0700
@@ -29,6 +29,10 @@
* @author Peter Jones
*
* @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary ServiceConfiguration TestProvider
* @run main/othervm/policy=security.policy Property
*/
--- a/jdk/test/java/rmi/server/RMIClassLoader/useCodebaseOnly/UseCodebaseOnly.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/server/RMIClassLoader/useCodebaseOnly/UseCodebaseOnly.java Thu May 28 10:54:48 2015 -0700
@@ -31,6 +31,10 @@
* @author Peter Jones
*
* @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary Receiver UseCodebaseOnly_Stub Foo Bar
* @run main/othervm/policy=security.policy UseCodebaseOnly
*/
--- a/jdk/test/java/rmi/server/RMIClassLoader/useCodebaseOnlyDefault/UseCodebaseOnlyDefault.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/server/RMIClassLoader/useCodebaseOnlyDefault/UseCodebaseOnlyDefault.java Thu May 28 10:54:48 2015 -0700
@@ -27,6 +27,7 @@
* @summary Tests proper parsing and defaulting of the
* "java.rmi.server.useCodebaseOnly" property.
*
+ * @modules java.rmi/sun.rmi.server
* @run main/othervm UseCodebaseOnlyDefault true
* @run main/othervm -Djava.rmi.server.useCodebaseOnly=xyzzy UseCodebaseOnlyDefault true
* @run main/othervm -Djava.rmi.server.useCodebaseOnly UseCodebaseOnlyDefault true
--- a/jdk/test/java/rmi/server/RMIClassLoader/useGetURLs/UseGetURLs.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/server/RMIClassLoader/useGetURLs/UseGetURLs.java Thu May 28 10:54:48 2015 -0700
@@ -30,6 +30,10 @@
* @author Peter Jones
*
* @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary Dummy
* @run main/othervm/policy=security.policy/timeout=120 UseGetURLs
*/
--- a/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/activatable/UseCustomSocketFactory.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/activatable/UseCustomSocketFactory.java Thu May 28 10:54:48 2015 -0700
@@ -28,6 +28,10 @@
* @author Ann Wollrath
*
* @library ../../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary Echo EchoImpl EchoImpl_Stub
* @run main/othervm/policy=security.policy/timeout=360 UseCustomSocketFactory
*/
--- a/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/registry/UseCustomSocketFactory.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/registry/UseCustomSocketFactory.java Thu May 28 10:54:48 2015 -0700
@@ -29,6 +29,10 @@
* @author Laird Dornin; code borrowed from Ann Wollrath
*
* @library ../../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary Compress Hello HelloImpl HelloImpl_Stub
* @run main/othervm/policy=security.policy/timeout=240 UseCustomSocketFactory
*/
--- a/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/unicast/UseCustomSocketFactory.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/server/RMISocketFactory/useSocketFactory/unicast/UseCustomSocketFactory.java Thu May 28 10:54:48 2015 -0700
@@ -29,6 +29,10 @@
* @author Ann Wollrath
*
* @library ../../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary RMID JavaVM Echo EchoImpl EchoImpl_Stub
* @run main/othervm/policy=security.policy/timeout=120 UseCustomSocketFactory
*/
--- a/jdk/test/java/rmi/server/RemoteObject/verifyRemoteEquals/VerifyRemoteEquals.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/server/RemoteObject/verifyRemoteEquals/VerifyRemoteEquals.java Thu May 28 10:54:48 2015 -0700
@@ -29,6 +29,10 @@
* @author Laird Dornin
*
* @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary
* @run main/othervm/timeout=40 VerifyRemoteEquals
*/
--- a/jdk/test/java/rmi/server/UnicastRemoteObject/keepAliveDuringCall/KeepAliveDuringCall.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/server/UnicastRemoteObject/keepAliveDuringCall/KeepAliveDuringCall.java Thu May 28 10:54:48 2015 -0700
@@ -32,6 +32,10 @@
* @author Peter Jones
*
* @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary JavaVM KeepAliveDuringCall_Stub
* ShutdownMonitor Shutdown ShutdownImpl ShutdownImpl_Stub
* @run main/othervm KeepAliveDuringCall
--- a/jdk/test/java/rmi/server/UnicastRemoteObject/unexportObject/UnexportLeak.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/server/UnicastRemoteObject/unexportObject/UnexportLeak.java Thu May 28 10:54:48 2015 -0700
@@ -29,6 +29,10 @@
* @author Ann Wollrath
*
* @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary UnexportLeak_Stub Ping
* @run main/othervm UnexportLeak
*/
--- a/jdk/test/java/rmi/server/Unmarshal/checkUnmarshalOnStopThread/CheckUnmarshalOnStopThread.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/server/Unmarshal/checkUnmarshalOnStopThread/CheckUnmarshalOnStopThread.java Thu May 28 10:54:48 2015 -0700
@@ -31,6 +31,10 @@
* @author Laird Dornin
*
* @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary CheckUnmarshal CheckUnmarshalOnStopThread_Stub
* PoisonPill RuntimeExceptionParameter
* @run main/othervm/timeout=480 CheckUnmarshalOnStopThread
--- a/jdk/test/java/rmi/server/Unreferenced/finiteGCLatency/FiniteGCLatency.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/server/Unreferenced/finiteGCLatency/FiniteGCLatency.java Thu May 28 10:54:48 2015 -0700
@@ -35,6 +35,10 @@
* @author Peter Jones
*
* @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary FiniteGCLatency_Stub
* @run main/othervm/timeout=120 FiniteGCLatency
*/
--- a/jdk/test/java/rmi/server/Unreferenced/leaseCheckInterval/LeaseCheckInterval.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/server/Unreferenced/leaseCheckInterval/LeaseCheckInterval.java Thu May 28 10:54:48 2015 -0700
@@ -37,6 +37,10 @@
* @author Peter Jones
*
* @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary JavaVM LeaseCheckInterval_Stub SelfTerminator
* @run main/othervm LeaseCheckInterval
*/
--- a/jdk/test/java/rmi/server/Unreferenced/unreferencedContext/UnreferencedContext.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/server/Unreferenced/unreferencedContext/UnreferencedContext.java Thu May 28 10:54:48 2015 -0700
@@ -39,6 +39,10 @@
* @author Laird Dornin
*
* @library ../../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary UnreferencedContext_Stub
* @run main/othervm/timeout=120 UnreferencedContext
*/
--- a/jdk/test/java/rmi/server/clientStackTrace/ClientStackTrace.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/server/clientStackTrace/ClientStackTrace.java Thu May 28 10:54:48 2015 -0700
@@ -28,6 +28,10 @@
* @author Laird Dornin
*
* @library ../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary ClientStackTrace MyRemoteObject_Stub
* @run main/othervm/policy=security.policy/timeout=120 ClientStackTrace
*/
--- a/jdk/test/java/rmi/server/getRemoteClass/GetRemoteClass.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/server/getRemoteClass/GetRemoteClass.java Thu May 28 10:54:48 2015 -0700
@@ -28,6 +28,10 @@
* @author Laird Dornin
*
* @library ../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary
* @run main/othervm GetRemoteClass
*/
--- a/jdk/test/java/rmi/server/useCustomRef/UseCustomRef.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/server/useCustomRef/UseCustomRef.java Thu May 28 10:54:48 2015 -0700
@@ -31,6 +31,10 @@
* 4180392
*
* @library ../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary Ping UseCustomRef_Stub UseCustomRef_Skel
* @run main/othervm/policy=security.policy/secure=java.rmi.RMISecurityManager/timeout=120 UseCustomRef
*
--- a/jdk/test/java/rmi/transport/checkFQDN/CheckFQDN.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/transport/checkFQDN/CheckFQDN.java Thu May 28 10:54:48 2015 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2015, 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
@@ -33,6 +33,10 @@
* @author Laird Dornin
*
* @library ../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary CheckFQDNClient CheckFQDN_Stub TellServerName
* @run main/othervm/timeout=120 CheckFQDN
*/
--- a/jdk/test/java/rmi/transport/checkLeaseInfoLeak/CheckLeaseLeak.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/transport/checkLeaseInfoLeak/CheckLeaseLeak.java Thu May 28 10:54:48 2015 -0700
@@ -28,6 +28,10 @@
* @author Laird Dornin
*
* @library ../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary CheckLeaseLeak_Stub LeaseLeakClient LeaseLeak
* @run main/othervm/timeout=240 CheckLeaseLeak
*
--- a/jdk/test/java/rmi/transport/closeServerSocket/CloseServerSocket.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/transport/closeServerSocket/CloseServerSocket.java Thu May 28 10:54:48 2015 -0700
@@ -31,6 +31,10 @@
* @author Peter Jones
*
* @library ../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary
* @run main/othervm CloseServerSocket
*/
--- a/jdk/test/java/rmi/transport/dgcDeadLock/DGCDeadLock.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/transport/dgcDeadLock/DGCDeadLock.java Thu May 28 10:54:48 2015 -0700
@@ -28,6 +28,10 @@
* @author Laird Dornin
*
* @library ../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary Test TestImpl TestImpl_Stub
* @run main/othervm/policy=security.policy/timeout=360 DGCDeadLock
*/
--- a/jdk/test/java/rmi/transport/handshakeFailure/HandshakeFailure.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/transport/handshakeFailure/HandshakeFailure.java Thu May 28 10:54:48 2015 -0700
@@ -31,6 +31,10 @@
* @author Peter Jones
*
* @library ../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary
* @run main/othervm HandshakeFailure
*/
--- a/jdk/test/java/rmi/transport/handshakeTimeout/HandshakeTimeout.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/transport/handshakeTimeout/HandshakeTimeout.java Thu May 28 10:54:48 2015 -0700
@@ -34,6 +34,10 @@
* @author Peter Jones
*
* @library ../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary
* @run main/othervm HandshakeTimeout
*/
--- a/jdk/test/java/rmi/transport/httpSocket/HttpSocketTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/transport/httpSocket/HttpSocketTest.java Thu May 28 10:54:48 2015 -0700
@@ -27,6 +27,11 @@
* @author Dana Burns
*
* @library ../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.proxy
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary HttpSocketTest HttpSocketTest_Stub
* @run main/othervm/policy=security.policy HttpSocketTest
*/
--- a/jdk/test/java/rmi/transport/pinClientSocketFactory/PinClientSocketFactory.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/transport/pinClientSocketFactory/PinClientSocketFactory.java Thu May 28 10:54:48 2015 -0700
@@ -32,6 +32,10 @@
* @author Peter Jones
*
* @library ../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary
* @run main/othervm -Dsun.rmi.transport.connectionTimeout=2000
* PinClientSocketFactory
--- a/jdk/test/java/rmi/transport/rapidExportUnexport/RapidExportUnexport.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/transport/rapidExportUnexport/RapidExportUnexport.java Thu May 28 10:54:48 2015 -0700
@@ -32,6 +32,10 @@
* @author Peter Jones
*
* @library ../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary
* @run main/othervm RapidExportUnexport
*/
--- a/jdk/test/java/rmi/transport/reuseDefaultPort/ReuseDefaultPort.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/rmi/transport/reuseDefaultPort/ReuseDefaultPort.java Thu May 28 10:54:48 2015 -0700
@@ -34,6 +34,10 @@
* @author Peter Jones
*
* @library ../../testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary
* @run main/othervm ReuseDefaultPort
*/
--- a/jdk/test/java/security/BasicPermission/Wildcard.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/security/BasicPermission/Wildcard.java Thu May 28 10:54:48 2015 -0700
@@ -33,6 +33,8 @@
* @summary Check that BasicPermission subclasses don't throw exception if name
* contains wildcard character ("*") but does not signify a
* wildcard match
+ * @modules java.base/com.sun.net.ssl
+ * java.sql
*/
public class Wildcard {
--- a/jdk/test/java/security/KeyPairGenerator/SolarisShortDSA.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/security/KeyPairGenerator/SolarisShortDSA.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 7081411
* @summary DSA keypair generation affected by Solaris bug
+ * @modules java.base/sun.security.provider
*/
import java.security.KeyPair;
--- a/jdk/test/java/security/PermissionCollection/Concurrent.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/security/PermissionCollection/Concurrent.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 4671598
* @summary PermissionCollection is not properly synchronized
+ * @modules java.rmi/com.sun.rmi.rmid
*/
import java.security.*; // AllPermission, BasicPermission, Permissions
--- a/jdk/test/java/security/Policy/GetInstance/GetInstance.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/security/Policy/GetInstance/GetInstance.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,7 @@
* @bug 5100561
* @bug 6273812
* @summary Can not explicitly create a java.security.Policy object from a file
+ * @modules java.base/sun.security.provider
* @build GetInstancePolicySpi GetInstanceProvider
* @run main/othervm/policy=GetInstance.policy GetInstance
*/
@@ -34,7 +35,6 @@
import java.io.File;
import java.net.URI;
-import sun.net.www.ParseUtil;
public class GetInstance {
--- a/jdk/test/java/security/Policy/PolicyProvider/UseSystemClassLoader.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/security/Policy/PolicyProvider/UseSystemClassLoader.java Thu May 28 10:54:48 2015 -0700
@@ -30,6 +30,7 @@
* @test
* @bug 8075706
* @summary Check that a custom policy provider can be loaded from the classpath
+ * @modules java.base/sun.security.provider
* @run main/othervm UseSystemClassLoader CUSTOM
* @run main/othervm UseSystemClassLoader DEFAULT
* @run main/othervm UseSystemClassLoader NOT_AVAIL
--- a/jdk/test/java/security/ProtectionDomain/PreserveCombinerTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/security/ProtectionDomain/PreserveCombinerTest.java Thu May 28 10:54:48 2015 -0700
@@ -34,6 +34,7 @@
* @summary Make sure that JavaSecurityAccess.doIntersectionPrivilege()
* is not dropping the information about the domain combiner of
* the stack ACC
+ * @modules java.base/sun.misc
*/
public class PreserveCombinerTest {
--- a/jdk/test/java/security/cert/CertPathBuilder/selfIssued/DisableRevocation.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/security/cert/CertPathBuilder/selfIssued/DisableRevocation.java Thu May 28 10:54:48 2015 -0700
@@ -32,6 +32,7 @@
* @bug 6852744
* @summary PIT b61: PKI test suite fails because self signed certificates
* are being rejected
+ * @modules java.base/sun.security.util
* @run main/othervm DisableRevocation subca
* @run main/othervm DisableRevocation subci
* @run main/othervm DisableRevocation alice
--- a/jdk/test/java/security/cert/CertPathBuilder/selfIssued/KeyUsageMatters.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/security/cert/CertPathBuilder/selfIssued/KeyUsageMatters.java Thu May 28 10:54:48 2015 -0700
@@ -32,6 +32,7 @@
* @bug 6852744
* @summary PIT b61: PKI test suite fails because self signed certificates
* are being rejected
+ * @modules java.base/sun.security.util
* @run main/othervm KeyUsageMatters subca
* @run main/othervm KeyUsageMatters subci
* @run main/othervm KeyUsageMatters alice
--- a/jdk/test/java/security/cert/CertPathBuilder/selfIssued/StatusLoopDependency.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/security/cert/CertPathBuilder/selfIssued/StatusLoopDependency.java Thu May 28 10:54:48 2015 -0700
@@ -32,6 +32,7 @@
* @bug 6852744
* @summary PIT b61: PKI test suite fails because self signed certificates
* are being rejected
+ * @modules java.base/sun.security.util
* @run main/othervm StatusLoopDependency subca
* @run main/othervm StatusLoopDependency subci
* @run main/othervm StatusLoopDependency alice
--- a/jdk/test/java/security/cert/CertPathValidator/trustAnchor/ValidateNC.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/security/cert/CertPathValidator/trustAnchor/ValidateNC.java Thu May 28 10:54:48 2015 -0700
@@ -28,6 +28,7 @@
* CertPathValidator.validate() and CertPathBuilder.build() throw an
* InvalidAlgorithmParameterException if any of the TrustAnchors specified
* contain nameConstraints
+ * @modules java.base/sun.security.util
*/
import java.io.File;
import java.io.FileInputStream;
--- a/jdk/test/java/security/cert/CertificateRevokedException/Basic.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/security/cert/CertificateRevokedException/Basic.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 4946388
* @summary Unit test for CertificateRevokedException
+ * @modules java.base/sun.security.x509
*/
import java.io.ByteArrayInputStream;
--- a/jdk/test/java/text/Bidi/Bug6850113.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/text/Bidi/Bug6850113.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
* @test
* @bug 6850113
* @summary Verify the return value of digit() for some digits.
+ * @modules java.base/sun.text.normalizer
* @compile -XDignore.symbol.file=true Bug6850113.java
* @run main Bug6850113
*/
--- a/jdk/test/java/util/Calendar/Bug8007038.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/util/Calendar/Bug8007038.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,7 @@
* @bug 8007038
* @summary Verify ArrayIndexOutOfBoundsException is not thrown on
* on calling localizedDateTime().print() with JapaneseChrono
+ * @modules java.base/sun.util.locale.provider
* @compile -XDignore.symbol.file Bug8007038.java
* @run main Bug8007038
*/
--- a/jdk/test/java/util/Calendar/CldrFormatNamesTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/util/Calendar/CldrFormatNamesTest.java Thu May 28 10:54:48 2015 -0700
@@ -24,9 +24,10 @@
/*
* @test
* @bug 8004489 8006509
+ * @summary Unit test for CLDR FormatData resources
+ * @modules java.base/sun.util.locale.provider
* @compile -XDignore.symbol.file CldrFormatNamesTest.java
* @run main/othervm -Djava.locale.providers=CLDR CldrFormatNamesTest
- * @summary Unit test for CLDR FormatData resources
*/
import java.util.*;
--- a/jdk/test/java/util/Formatter/Basic.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/util/Formatter/Basic.java Thu May 28 10:54:48 2015 -0700
@@ -28,6 +28,7 @@
* 6344623 6369500 6534606 6282094 6286592 6476425 5063507 6469160 6476168
* 8059175
*
+ * @modules java.base/sun.misc
* @run shell/timeout=240 Basic.sh
*/
--- a/jdk/test/java/util/Locale/Bug6989440.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/util/Locale/Bug6989440.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,7 @@
* @bug 6989440
* @summary Verify ConcurrentModificationException is not thrown with multiple
* thread accesses.
+ * @modules java.base/sun.util.locale.provider
* @compile -XDignore.symbol.file=true Bug6989440.java
* @run main Bug6989440
*/
--- a/jdk/test/java/util/Locale/Bug8004240.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/util/Locale/Bug8004240.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 8004240
* @summary Verify that getAdapterPreference returns an unmodifiable list.
+ * @modules java.base/sun.util.locale.provider
* @compile -XDignore.symbol.file Bug8004240.java
* @run main Bug8004240
*/
--- a/jdk/test/java/util/jar/JarInputStream/ExtraFileInMetaInf.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/util/jar/JarInputStream/ExtraFileInMetaInf.java Thu May 28 10:54:48 2015 -0700
@@ -23,8 +23,10 @@
/*
* @test
- * @bug 8021788
- * @summary JarInputStream doesn't provide certificates for some file under META-INF
+ * @bug 8021788
+ * @summary JarInputStream doesn't provide certificates for some file under META-INF
+ * @modules java.base/sun.security.tools.keytool
+ * jdk.jartool/sun.security.tools.jarsigner
*/
import java.util.jar.*;
--- a/jdk/test/java/util/jar/Manifest/CreateManifest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/util/jar/Manifest/CreateManifest.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 7148584
* @summary Jar tools fails to generate manifest correctly when boundary condition hit
+ * @modules jdk.jartool/sun.tools.jar
* @compile -XDignore.symbol.file=true CreateManifest.java
* @run main CreateManifest
*/
--- a/jdk/test/java/util/logging/CustomLogManagerTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/util/logging/CustomLogManagerTest.java Thu May 28 10:54:48 2015 -0700
@@ -32,6 +32,7 @@
* @bug 8005615 8006104
* @summary Add loggers to custom log manager
*
+ * @modules java.base/sun.util.logging
* @compile -XDignore.symbol.file CustomLogManagerTest.java CustomLogManager.java
* @run main/othervm -Djava.util.logging.manager=CustomLogManager CustomLogManagerTest
*/
--- a/jdk/test/java/util/logging/LogManager/RootLogger/setLevel/TestRootLoggerLevel.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/util/logging/LogManager/RootLogger/setLevel/TestRootLoggerLevel.java Thu May 28 10:54:48 2015 -0700
@@ -35,6 +35,7 @@
* @test
* @bug 8026499
* @summary checks that Logger.getLogger("").setLevel() is working correctly.
+ * @modules java.base/sun.util.logging
* @build TestRootLoggerLevel
* @run main/othervm -Dtest.security=on TestRootLoggerLevel
* @run main/othervm -Dtest.security=off TestRootLoggerLevel
--- a/jdk/test/java/util/logging/LogManagerAppContextDeadlock.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/util/logging/LogManagerAppContextDeadlock.java Thu May 28 10:54:48 2015 -0700
@@ -41,6 +41,7 @@
* @bug 8065991
* @summary check that when LogManager is initialized, a deadlock similar
* to that described in 8065709 will not occur.
+ * @modules java.base/sun.misc
* @run main/othervm LogManagerAppContextDeadlock UNSECURE
* @run main/othervm LogManagerAppContextDeadlock SECURE
*
--- a/jdk/test/java/util/logging/LoggingDeadlock4.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/util/logging/LoggingDeadlock4.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,7 @@
* @bug 6977677 8004928
* @summary Deadlock between LogManager.<clinit> and Logger.getLogger()
* @author Daniel D. Daugherty
+ * @modules java.base/sun.util.logging
* @compile -XDignore.symbol.file LoggingDeadlock4.java
* @run main/othervm/timeout=15 LoggingDeadlock4
*/
--- a/jdk/test/java/util/logging/RootLogger/RootLevelInConfigFile.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/util/logging/RootLogger/RootLevelInConfigFile.java Thu May 28 10:54:48 2015 -0700
@@ -42,6 +42,7 @@
* @bug 8030850
* @summary Tests that setting .level=FINEST for the root logger in logging
* configuration file does work.
+ * @modules java.base/sun.misc
* @run main/othervm RootLevelInConfigFile
*
* @author danielfuchs
--- a/jdk/test/java/util/logging/SimpleLogManager.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/util/logging/SimpleLogManager.java Thu May 28 10:54:48 2015 -0700
@@ -31,6 +31,7 @@
* @summary A LogManager subclass overrides its own implementation of named
* logger (see the subclassing information in the Logger class specification)
*
+ * @modules java.base/sun.util.logging
* @compile -XDignore.symbol.file CustomLogManager.java SimpleLogManager.java
* @run main/othervm -Djava.util.logging.manager=SimpleLogManager SimpleLogManager
*/
--- a/jdk/test/java/util/logging/TestAppletLoggerContext.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/util/logging/TestAppletLoggerContext.java Thu May 28 10:54:48 2015 -0700
@@ -42,6 +42,7 @@
* @summary NPE when using Logger.getAnonymousLogger or
* LogManager.getLogManager().getLogger
*
+ * @modules java.base/sun.misc
* @run main/othervm -Dtest.security=off TestAppletLoggerContext LoadingApplet
* @run main/othervm -Dtest.security=on TestAppletLoggerContext LoadingApplet
* @run main/othervm -Dtest.security=off TestAppletLoggerContext LoadingMain
--- a/jdk/test/java/util/logging/TestGetLoggerNPE.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/util/logging/TestGetLoggerNPE.java Thu May 28 10:54:48 2015 -0700
@@ -35,6 +35,7 @@
*
* @summary NPE with logging while launching webstart
*
+ * @modules java.base/sun.misc
* @build TestGetLoggerNPE
* @run main/othervm TestGetLoggerNPE getLogger
* @run main/othervm TestGetLoggerNPE getLogManager
--- a/jdk/test/java/util/logging/TestLoggerWeakRefLeak.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/util/logging/TestLoggerWeakRefLeak.java Thu May 28 10:54:48 2015 -0700
@@ -38,7 +38,8 @@
* @bug 6942989
* @summary Check for WeakReference leak in Logger and anonymous Logger objects
* @library /lib/testlibrary
- * @build jdk.testlibrary.*
+ * @modules jdk.attach/sun.tools.attach
+ * @build jdk.testlibrary.ProcessTools
* @run main/othervm TestLoggerWeakRefLeak Logger
* @run main/othervm TestLoggerWeakRefLeak AnonymousLogger
*/
--- a/jdk/test/java/util/logging/TestMainAppContext.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/java/util/logging/TestMainAppContext.java Thu May 28 10:54:48 2015 -0700
@@ -30,6 +30,7 @@
* @bug 8026404
* @summary checks that calling getLogger() from a Thread whose ThreadGroup is
* a child of the main root group doesn't throw an exception.
+ * @modules java.desktop/sun.awt
* @build TestMainAppContext
* @run main/othervm TestMainAppContext
* @author danielfuchs
--- a/jdk/test/javax/net/ssl/FixingJavadocs/ComURLNulls.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/javax/net/ssl/FixingJavadocs/ComURLNulls.java Thu May 28 10:54:48 2015 -0700
@@ -27,6 +27,8 @@
* @summary Need to revisit the javadocs for JSSE, especially the
* promoted classes, and HttpsURLConnection.getCipherSuite throws
* NullPointerException
+ * @modules java.base/com.sun.net.ssl
+ * java.base/com.sun.net.ssl.internal.www.protocol.https
* @run main/othervm ComURLNulls
*
* SunJSSE does not support dynamic system properties, no way to re-use
--- a/jdk/test/javax/net/ssl/GetInstance.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/javax/net/ssl/GetInstance.java Thu May 28 10:54:48 2015 -0700
@@ -27,6 +27,7 @@
* @summary verify getInstance() works using Provider.getService()
* Export "PKIX" as the standard algorithm name of KeyManagerFactory
* @author Andreas Sterbenz
+ * @modules java.base/com.sun.net.ssl
*/
import java.security.*;
--- a/jdk/test/javax/net/ssl/SSLSession/CheckMyTrustedKeystore.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/javax/net/ssl/SSLSession/CheckMyTrustedKeystore.java Thu May 28 10:54:48 2015 -0700
@@ -29,6 +29,7 @@
* @bug 4329114
* @summary Need better way of reflecting the reason when a chain is
* rejected as untrusted.
+ * @modules java.base/com.sun.net.ssl
* @ignore JSSE supports algorithm constraints with CR 6916074,
* need to update this test case in JDK 7 soon
* @run main/othervm CheckMyTrustedKeystore
--- a/jdk/test/javax/net/ssl/ServerName/SSLEngineExplorer.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/javax/net/ssl/ServerName/SSLEngineExplorer.java Thu May 28 10:54:48 2015 -0700
@@ -31,6 +31,7 @@
* @bug 7068321
* @summary Support TLS Server Name Indication (SNI) Extension in JSSE Server
* @library ../SSLEngine ../templates
+ * @modules java.base/sun.misc
* @build SSLEngineService SSLCapabilities SSLExplorer
* @run main/othervm SSLEngineExplorer SSLv2Hello,SSLv3
* @run main/othervm SSLEngineExplorer SSLv3
--- a/jdk/test/javax/net/ssl/ServerName/SSLEngineExplorerMatchedSNI.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/javax/net/ssl/ServerName/SSLEngineExplorerMatchedSNI.java Thu May 28 10:54:48 2015 -0700
@@ -31,6 +31,7 @@
* @bug 7068321
* @summary Support TLS Server Name Indication (SNI) Extension in JSSE Server
* @library ../SSLEngine ../templates
+ * @modules java.base/sun.misc
* @build SSLEngineService SSLCapabilities SSLExplorer
* @run main/othervm SSLEngineExplorerMatchedSNI www.example.com
* www\.example\.com
--- a/jdk/test/javax/net/ssl/ServerName/SSLEngineExplorerUnmatchedSNI.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/javax/net/ssl/ServerName/SSLEngineExplorerUnmatchedSNI.java Thu May 28 10:54:48 2015 -0700
@@ -31,6 +31,7 @@
* @bug 7068321
* @summary Support TLS Server Name Indication (SNI) Extension in JSSE Server
* @library ../SSLEngine ../templates
+ * @modules java.base/sun.misc
* @build SSLEngineService SSLCapabilities SSLExplorer
* @run main/othervm SSLEngineExplorerUnmatchedSNI www.example.com
* www\.example\.org
--- a/jdk/test/javax/net/ssl/ServerName/SSLEngineExplorerWithCli.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/javax/net/ssl/ServerName/SSLEngineExplorerWithCli.java Thu May 28 10:54:48 2015 -0700
@@ -31,6 +31,7 @@
* @bug 7068321
* @summary Support TLS Server Name Indication (SNI) Extension in JSSE Server
* @library ../SSLEngine ../templates
+ * @modules java.base/sun.misc
* @build SSLEngineService SSLCapabilities SSLExplorer
* @run main/othervm SSLEngineExplorerWithCli
*/
--- a/jdk/test/javax/net/ssl/ServerName/SSLEngineExplorerWithSrv.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/javax/net/ssl/ServerName/SSLEngineExplorerWithSrv.java Thu May 28 10:54:48 2015 -0700
@@ -31,6 +31,7 @@
* @bug 7068321
* @summary Support TLS Server Name Indication (SNI) Extension in JSSE Server
* @library ../SSLEngine ../templates
+ * @modules java.base/sun.misc
* @build SSLEngineService SSLCapabilities SSLExplorer
* @run main/othervm SSLEngineExplorerWithSrv
*/
--- a/jdk/test/javax/net/ssl/ServerName/SSLSocketExplorer.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/javax/net/ssl/ServerName/SSLSocketExplorer.java Thu May 28 10:54:48 2015 -0700
@@ -31,6 +31,7 @@
* @bug 7068321
* @summary Support TLS Server Name Indication (SNI) Extension in JSSE Server
* @library ../templates
+ * @modules java.base/sun.misc
* @build SSLCapabilities SSLExplorer
* @run main/othervm SSLSocketExplorer SSLv2Hello,SSLv3
* @run main/othervm SSLSocketExplorer SSLv3
--- a/jdk/test/javax/net/ssl/ServerName/SSLSocketExplorerFailure.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/javax/net/ssl/ServerName/SSLSocketExplorerFailure.java Thu May 28 10:54:48 2015 -0700
@@ -31,6 +31,7 @@
* @bug 7068321
* @summary Support TLS Server Name Indication (SNI) Extension in JSSE Server
* @library ../templates
+ * @modules java.base/sun.misc
* @build SSLCapabilities SSLExplorer
* @run main/othervm SSLSocketExplorerFailure SSLv2Hello,SSLv3
* @run main/othervm SSLSocketExplorerFailure SSLv3
--- a/jdk/test/javax/net/ssl/ServerName/SSLSocketExplorerMatchedSNI.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/javax/net/ssl/ServerName/SSLSocketExplorerMatchedSNI.java Thu May 28 10:54:48 2015 -0700
@@ -31,6 +31,7 @@
* @bug 7068321
* @summary Support TLS Server Name Indication (SNI) Extension in JSSE Server
* @library ../templates
+ * @modules java.base/sun.misc
* @build SSLCapabilities SSLExplorer
* @run main/othervm SSLSocketExplorerMatchedSNI www.example.com
* www\.example\.com
--- a/jdk/test/javax/net/ssl/ServerName/SSLSocketExplorerUnmatchedSNI.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/javax/net/ssl/ServerName/SSLSocketExplorerUnmatchedSNI.java Thu May 28 10:54:48 2015 -0700
@@ -31,6 +31,7 @@
* @bug 7068321
* @summary Support TLS Server Name Indication (SNI) Extension in JSSE Server
* @library ../templates
+ * @modules java.base/sun.misc
* @build SSLCapabilities SSLExplorer
* @run main/othervm SSLSocketExplorerUnmatchedSNI www.example.com
* www\.example\.org
--- a/jdk/test/javax/net/ssl/ServerName/SSLSocketExplorerWithCliSNI.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/javax/net/ssl/ServerName/SSLSocketExplorerWithCliSNI.java Thu May 28 10:54:48 2015 -0700
@@ -31,6 +31,7 @@
* @bug 7068321
* @summary Support TLS Server Name Indication (SNI) Extension in JSSE Server
* @library ../templates
+ * @modules java.base/sun.misc
* @build SSLCapabilities SSLExplorer
* @run main/othervm SSLSocketExplorerWithCliSNI
*/
--- a/jdk/test/javax/net/ssl/ServerName/SSLSocketExplorerWithSrvSNI.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/javax/net/ssl/ServerName/SSLSocketExplorerWithSrvSNI.java Thu May 28 10:54:48 2015 -0700
@@ -31,6 +31,7 @@
* @bug 7068321
* @summary Support TLS Server Name Indication (SNI) Extension in JSSE Server
* @library ../templates
+ * @modules java.base/sun.misc
* @build SSLCapabilities SSLExplorer
* @run main/othervm SSLSocketExplorerWithSrvSNI
*/
--- a/jdk/test/javax/net/ssl/TLS/TestJSSE.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/javax/net/ssl/TLS/TestJSSE.java Thu May 28 10:54:48 2015 -0700
@@ -28,6 +28,8 @@
* @test
* @bug 8049429
* @library ../../../../lib/testlibrary/
+ * @modules java.management
+ * jdk.crypto.ec/sun.security.ec
* @build jdk.testlibrary.Utils
* @compile CipherTestUtils.java JSSEClient.java JSSEServer.java
* @summary Test that all cipher suites work in all versions and all client
--- a/jdk/test/javax/net/ssl/TLSv12/ShortRSAKeyGCM.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/javax/net/ssl/TLSv12/ShortRSAKeyGCM.java Thu May 28 10:54:48 2015 -0700
@@ -32,6 +32,7 @@
* @test
* @bug 7030966
* @summary Support AEAD CipherSuites
+ * @modules java.base/sun.misc
* @run main/othervm ShortRSAKeyGCM PKIX TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
* @run main/othervm ShortRSAKeyGCM PKIX TLS_RSA_WITH_AES_128_GCM_SHA256
* @run main/othervm ShortRSAKeyGCM PKIX TLS_DHE_RSA_WITH_AES_128_GCM_SHA256
--- a/jdk/test/javax/script/VersionTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/javax/script/VersionTest.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,8 @@
* @test
* @bug 6346729 6705893
* @summary Create JavaScript engine and check language and engine version
+ * @modules java.scripting
+ * jdk.scripting.nashorn/jdk.nashorn.internal.runtime
*/
import javax.script.*;
--- a/jdk/test/javax/security/auth/Subject/SubjectNullTests.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/javax/security/auth/Subject/SubjectNullTests.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,9 @@
/*
* @test
* @bug 8015081
+ * @modules java.base/sun.misc
+ * java.management
+ * java.security.jgss
* @compile Subject.java
* @compile SubjectNullTests.java
* @build SubjectNullTests
--- a/jdk/test/javax/security/auth/kerberos/StandardNames.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/javax/security/auth/kerberos/StandardNames.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 8035986
* @summary KerberosKey algorithm names are not specified
+ * @modules java.security.jgss/sun.security.krb5
*/
import sun.security.krb5.EncryptedData;
--- a/jdk/test/javax/security/auth/login/Configuration/GetInstanceSecurity.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/javax/security/auth/login/Configuration/GetInstanceSecurity.java Thu May 28 10:54:48 2015 -0700
@@ -34,8 +34,6 @@
import java.security.*;
import javax.security.auth.login.*;
-import sun.net.www.ParseUtil;
-
public class GetInstanceSecurity {
private static final String JAVA_CONFIG = "JavaLoginConfig";
--- a/jdk/test/javax/security/auth/x500/X500Principal/NameFormat.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/javax/security/auth/x500/X500Principal/NameFormat.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 4505980 5109882 7049963 7090565
* @summary X500Principal input name parsing issues and wrong exception thrown
+ * @modules java.base/sun.security.x509
* @run main/othervm -Djava.security.debug=x509,ava NameFormat
*
* The debug=ava above must be set in order to check for escaped hex chars.
--- a/jdk/test/javax/sql/testng/TEST.properties Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/javax/sql/testng/TEST.properties Thu May 28 10:54:48 2015 -0700
@@ -2,3 +2,6 @@
TestNG.dirs= .
othervm.dirs= .
lib.dirs = /java/sql/testng
+modules = java.sql.rowset/com.sun.rowset \
+ java.sql.rowset/com.sun.rowset.internal \
+ java.sql.rowset/com.sun.rowset.providers
--- a/jdk/test/javax/xml/bind/xjc/8029837/PreParseGrammarTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/javax/xml/bind/xjc/8029837/PreParseGrammarTest.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,10 @@
* @bug 8029837
* @summary Test simulates the partial call to xjc ant task that fails with
* NullPointer exception
+ * @modules java.xml/com.sun.org.apache.xerces.internal.parsers
+ * @modules java.xml/com.sun.org.apache.xerces.internal.xni
+ * @modules java.xml/com.sun.org.apache.xerces.internal.xni.grammars
+ * @modules java.xml/com.sun.org.apache.xerces.internal.xni.parser
* @run main/othervm PreParseGrammarTest
*/
--- a/jdk/test/javax/xml/crypto/dsig/GenerationTests.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/javax/xml/crypto/dsig/GenerationTests.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,9 @@
* @bug 4635230 6283345 6303830 6824440 6867348 7094155 8038184 8038349 8046949
* 8046724 8079693
* @summary Basic unit tests for generating XML Signatures with JSR 105
+ * @modules java.base/sun.security.util
+ * java.base/sun.security.x509
+ * java.xml.crypto/org.jcp.xml.dsig.internal.dom
* @compile -XDignore.symbol.file KeySelectors.java SignatureValidator.java
* X509KeySelector.java GenerationTests.java
* @run main/othervm GenerationTests
--- a/jdk/test/javax/xml/crypto/dsig/ValidationTests.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/javax/xml/crypto/dsig/ValidationTests.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,9 @@
* @test
* @bug 4635230 6365103 6366054 6824440 7131084 8046724 8079693
* @summary Basic unit tests for validating XML Signatures with JSR 105
+ * @modules java.base/sun.security.util
+ * java.base/sun.security.x509
+ * java.xml.crypto/org.jcp.xml.dsig.internal.dom
* @compile -XDignore.symbol.file KeySelectors.java SignatureValidator.java
* X509KeySelector.java ValidationTests.java
* @run main/othervm ValidationTests
--- a/jdk/test/javax/xml/crypto/dsig/keyinfo/KeyInfo/Marshal.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/javax/xml/crypto/dsig/keyinfo/KeyInfo/Marshal.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 6372500
* @summary Test that KeyInfo.marshal works correctly
+ * @modules java.xml.crypto/org.jcp.xml.dsig.internal.dom
* @compile -XDignore.symbol.file Marshal.java
* @run main Marshal
* @author Sean Mullan
--- a/jdk/test/javax/xml/jaxp/Encodings/CheckEncodingPropertiesFile.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/javax/xml/jaxp/Encodings/CheckEncodingPropertiesFile.java Thu May 28 10:54:48 2015 -0700
@@ -30,6 +30,7 @@
* correctly maps them to their preferred mime names.
* Also checks that the Encodings.properties resource file
* is consistent.
+ * @modules java.xml/com.sun.org.apache.xml.internal.serializer
* @compile -XDignore.symbol.file CheckEncodingPropertiesFile.java
* @run main CheckEncodingPropertiesFile
* @author Daniel Fuchs
--- a/jdk/test/javax/xml/jaxp/XPath/8035577/Regex.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/javax/xml/jaxp/XPath/8035577/Regex.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 8035577
* @summary Tests for xpath regular expression methods.
+ * @modules java.xml/com.sun.org.apache.xerces.internal.impl.xpath.regex
* @run main Regex
* @author david.x.li@oracle.com
*/
--- a/jdk/test/javax/xml/jaxp/parsers/8022548/XOMParserTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/javax/xml/jaxp/parsers/8022548/XOMParserTest.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,10 @@
* @test
* @bug 8022548
* @summary test that a parser can use DTDConfiguration
+ * @modules java.xml/com.sun.org.apache.xerces.internal.impl
+ * java.xml/com.sun.org.apache.xerces.internal.parsers
+ * java.xml/com.sun.org.apache.xerces.internal.util
+ * java.xml/com.sun.org.apache.xerces.internal.xni.parser
* @run main XOMParserTest
*/
import com.sun.org.apache.xerces.internal.impl.Constants;
--- a/jdk/test/javax/xml/jaxp/testng/TEST.properties Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/javax/xml/jaxp/testng/TEST.properties Thu May 28 10:54:48 2015 -0700
@@ -1,3 +1,11 @@
# This file identifies root(s) of the test-ng hierarchy.
TestNG.dirs = .
+
+modules = java.xml/com.sun.org.apache.xerces.internal.dom \
+ java.xml/com.sun.org.apache.xerces.internal.impl \
+ java.xml/com.sun.org.apache.xerces.internal.impl.xs \
+ java.xml/com.sun.org.apache.xerces.internal.parsers \
+ java.xml/com.sun.org.apache.xerces.internal.util \
+ java.xml/com.sun.org.apache.xerces.internal.xni.parser \
+ java.xml/com.sun.org.apache.xerces.internal.xs
--- a/jdk/test/jdk/internal/jimage/VerifyJimage.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/jdk/internal/jimage/VerifyJimage.java Thu May 28 10:54:48 2015 -0700
@@ -48,6 +48,7 @@
/*
* @test
* @summary Verify jimage
+ * @modules java.base/jdk.internal.jimage
* @run main/othervm VerifyJimage
*/
--- a/jdk/test/lib/security/CheckBlacklistedCerts.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/lib/security/CheckBlacklistedCerts.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 8011402
* @summary Move blacklisting certificate logic from hard code to data
+ * @modules java.base/sun.security.util
*/
import sun.security.util.UntrustedCertificates;
--- a/jdk/test/lib/testlibrary/OutputAnalyzerReportingTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/lib/testlibrary/OutputAnalyzerReportingTest.java Thu May 28 10:54:48 2015 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2013, 2015, 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
@@ -29,6 +29,7 @@
* such as printing additional diagnostic info
* (exit code, stdout, stderr, command line, etc.)
* @library /testlibrary
+ * @modules java.management
* @build jdk.testlibrary.*
* @run main jdk.testlibrary.OutputAnalyzerReportingTest
*/
--- a/jdk/test/lib/testlibrary/OutputAnalyzerTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/lib/testlibrary/OutputAnalyzerTest.java Thu May 28 10:54:48 2015 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2013, 2015, 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 @@
* @test
* @summary Test the OutputAnalyzer utility class
* @library /testlibrary
+ * @modules java.management
* @build jdk.testlibrary.*
* @run main jdk.testlibrary.OutputAnalyzerTest
*/
--- a/jdk/test/lib/testlibrary/jdk/testlibrary/ProcessTools.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/lib/testlibrary/jdk/testlibrary/ProcessTools.java Thu May 28 10:54:48 2015 -0700
@@ -44,8 +44,6 @@
import java.util.function.Consumer;
import java.util.stream.Collectors;
-import sun.management.VMManagement;
-
public final class ProcessTools {
private static final class LineForwarder extends StreamPumper.LinePump {
private final PrintStream ps;
--- a/jdk/test/sun/invoke/util/ValueConversionsTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/invoke/util/ValueConversionsTest.java Thu May 28 10:54:48 2015 -0700
@@ -35,6 +35,7 @@
/* @test
* @summary unit tests for value-type conversion utilities
+ * @modules java.base/sun.invoke.util
* @compile -XDignore.symbol.file ValueConversionsTest.java
* @run junit/othervm test.sun.invoke.util.ValueConversionsTest
*/
--- a/jdk/test/sun/management/PlatformMBeanProviderConstructorCheck.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/management/PlatformMBeanProviderConstructorCheck.java Thu May 28 10:54:48 2015 -0700
@@ -31,6 +31,7 @@
* @test
* @bug 8042901
* @summary Check permission for PlatformMBeanProvider Constructor
+ * @modules java.management/sun.management.spi
* @author Shanliang Jiang
*/
public class PlatformMBeanProviderConstructorCheck {
--- a/jdk/test/sun/management/jmxremote/startstop/JMXStatusTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/management/jmxremote/startstop/JMXStatusTest.java Thu May 28 10:54:48 2015 -0700
@@ -36,6 +36,7 @@
* Management agent may be disable, started (only local connections) and started.
* The test asserts that the expected text is being printed.
* @library /lib/testlibrary
+ * @modules java.management/sun.management
* @build jdk.testlibrary.* PortAllocator TestApp ManagementAgentJcmd
* @run testng/othervm -XX:+UsePerfData JMXStatusTest
*/
--- a/jdk/test/sun/misc/CopyMemory.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/misc/CopyMemory.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/* @test
* @bug 6565543
* @summary Minimal test for unsafe.copyMemory() and unsafe.setMemory()
+ * @modules java.base/sun.nio.ch java.base/sun.misc
* @key randomness
*/
--- a/jdk/test/sun/misc/Encode/DecodeBuffer.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/misc/Encode/DecodeBuffer.java Thu May 28 10:54:48 2015 -0700
@@ -25,7 +25,7 @@
* @test
* @bug 4159554
* @summary Problem with UUDecoder
- *
+ * @modules java.base/sun.misc
*/
import sun.misc.*;
--- a/jdk/test/sun/misc/Encode/Encode.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/misc/Encode/Encode.java Thu May 28 10:54:48 2015 -0700
@@ -25,7 +25,7 @@
* @test
* @bug 4041231
* @summary Test UUEncoder.java for proper masking in encodeAtom
- *
+ * @modules java.base/sun.misc
*/
import sun.misc.*;
--- a/jdk/test/sun/misc/Encode/GetBytes.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/misc/Encode/GetBytes.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,7 @@
* @bug 5031097
* @summary sun.misc.CharacterEncoder(ByteBuffer) is dumping too
* much information
+ * @modules java.base/sun.misc
* @author Brad Wetmore
*/
--- a/jdk/test/sun/misc/FloatingDecimal/TestFDBigInteger.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/misc/FloatingDecimal/TestFDBigInteger.java Thu May 28 10:54:48 2015 -0700
@@ -29,6 +29,7 @@
* @test
* @bug 7032154
* @summary unit testys of sun.misc.FDBigInteger
+ * @modules java.base/sun.misc
* @author Dmitry Nadezhin
*/
public class TestFDBigInteger {
--- a/jdk/test/sun/misc/FloatingDecimal/TestFloatingDecimal.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/misc/FloatingDecimal/TestFloatingDecimal.java Thu May 28 10:54:48 2015 -0700
@@ -58,6 +58,7 @@
* @test
* @bug 7032154
* @summary unit tests of sun.misc.FloatingDecimal
+ * @modules java.base/sun.misc
* @library ../../../java/lang/Math
* @build DoubleConsts FloatConsts
* @run main TestFloatingDecimal
--- a/jdk/test/sun/misc/JarIndex/JarIndexMergeTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/misc/JarIndex/JarIndexMergeTest.java Thu May 28 10:54:48 2015 -0700
@@ -24,9 +24,10 @@
/*
* @test
* @bug 6901992
+ * @summary InvalidJarIndexException due to bug in sun.misc.JarIndex.merge()
+ * @modules java.base/sun.misc
* @compile -XDignore.symbol.file JarIndexMergeTest.java
* @run main JarIndexMergeTest
- * @summary InvalidJarIndexException due to bug in sun.misc.JarIndex.merge()
* @author Diego Belfer
*/
--- a/jdk/test/sun/misc/JarIndex/metaInfFilenames/Basic.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/misc/JarIndex/metaInfFilenames/Basic.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 6887710
* @summary Verify the impact of sun.misc.JarIndex.metaInfFilenames on ServiceLoader
+ * @modules jdk.jartool/sun.tools.jar
* @run main/othervm Basic
*/
--- a/jdk/test/sun/misc/JavaLangAccess/FormatUnsigned.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/misc/JavaLangAccess/FormatUnsigned.java Thu May 28 10:54:48 2015 -0700
@@ -26,8 +26,9 @@
/*
* @test
+ * @bug 8050114
* @summary Test JavaLangAccess.formatUnsignedInt/-Long
- * @bug 8050114
+ * @modules java.base/sun.misc
*/
public class FormatUnsigned {
--- a/jdk/test/sun/misc/JavaLangAccess/NewUnsafeString.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/misc/JavaLangAccess/NewUnsafeString.java Thu May 28 10:54:48 2015 -0700
@@ -28,8 +28,9 @@
/*
* @test
+ * @bug 8013528
* @summary Test JavaLangAccess.newUnsafeString
- * @bug 8013528
+ * @modules java.base/sun.misc
* @compile -XDignore.symbol.file NewUnsafeString.java
*/
public class NewUnsafeString {
--- a/jdk/test/sun/misc/Safe.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/misc/Safe.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @bug 4495577
* @summary Ensure that sun.misc.Unsafe cannot (easily)
* be accessed from user code
+ * @modules java.base/sun.misc
*/
--- a/jdk/test/sun/misc/URLClassPath/ClassnameCharTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/misc/URLClassPath/ClassnameCharTest.java Thu May 28 10:54:48 2015 -0700
@@ -23,10 +23,11 @@
/* @test
* @bug 4957669 5017871
+ * @summary cannot load class names containing some JSR 202 characters;
+ * plugin does not escape unicode character in http request
+ * @modules java.desktop/sun.applet
* @compile -XDignore.symbol.file=true ClassnameCharTest.java
* @run main ClassnameCharTest
- * @summary cannot load class names containing some JSR 202 characters;
- * plugin does not escape unicode character in http request
*/
import java.io.*;
--- a/jdk/test/sun/misc/VM/GetNanoTimeAdjustment.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/misc/VM/GetNanoTimeAdjustment.java Thu May 28 10:54:48 2015 -0700
@@ -27,6 +27,7 @@
* @test
* @bug 8068730
* @summary tests that VM.getgetNanoTimeAdjustment() works as expected.
+ * @modules java.base/sun.misc
* @run main GetNanoTimeAdjustment
* @author danielfuchs
*/
--- a/jdk/test/sun/misc/Version/Version.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/misc/Version/Version.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @bug 6994413
* @summary Check the JDK and JVM version returned by sun.misc.Version
* matches the versions defined in the system properties
+ * @modules java.base/sun.misc
* @compile -XDignore.symbol.file Version.java
* @run main Version
*/
--- a/jdk/test/sun/net/InetAddress/nameservice/chaining/Providers.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/InetAddress/nameservice/chaining/Providers.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 4762344
* @summary 2nd nameservice provider is non functional
+ * @modules java.base/sun.net.spi.nameservice
* @compile -XDignore.symbol.file=true SimpleNameService.java
* Simple1NameServiceDescriptor.java
* Simple2NameServiceDescriptor.java
--- a/jdk/test/sun/net/InetAddress/nameservice/deadlock/Hang.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/InetAddress/nameservice/deadlock/Hang.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/**
* @test
* @bug 7012768
+ * @modules java.base/sun.net.spi.nameservice
* @compile -XDignore.symbol.file=true ThrowingNameService.java
* ThrowingNameServiceDescriptor.java
* @run main/othervm/timeout=30 -Dsun.net.spi.nameservice.provider.1=throwing,sun Hang
--- a/jdk/test/sun/net/InetAddress/nameservice/simple/CacheTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/InetAddress/nameservice/simple/CacheTest.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,7 @@
* @summary Check that InetAddress doesn't continue to throw UHE
* after the name service has recovered and the negative ttl
* on the initial lookup has expired.
+ * @modules java.base/sun.net.spi.nameservice
* @compile -XDignore.symbol.file=true SimpleNameService.java
* SimpleNameServiceDescriptor.java
* @run main/othervm/timeout=200 -Dsun.net.spi.nameservice.provider.1=simple,sun CacheTest
--- a/jdk/test/sun/net/InetAddress/nameservice/simple/DefaultCaching.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/InetAddress/nameservice/simple/DefaultCaching.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @bug 6442088
* @summary Change default DNS caching behavior for code not running under
* security manager.
+ * @modules java.base/sun.net.spi.nameservice
* @compile -XDignore.symbol.file=true SimpleNameService.java
* SimpleNameServiceDescriptor.java
* @run main/othervm/timeout=200 -Dsun.net.inetaddr.ttl=20 -Dsun.net.spi.nameservice.provider.1=simple,sun DefaultCaching
--- a/jdk/test/sun/net/TelnetTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/TelnetTest.java Thu May 28 10:54:48 2015 -0700
@@ -28,6 +28,7 @@
* @test
* @bug 4145748
* @summary test stickyCRLF in TelnetOutputStream
+ * @modules java.base/sun.net
*/
public class TelnetTest {
--- a/jdk/test/sun/net/ftp/B6427768.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/ftp/B6427768.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 6427768
* @summary FtpURLConnection doesn't close FTP connection when login fails
+ * @modules java.base/sun.net.ftp
* @library ../www/ftptest/
* @build FtpServer FtpCommandHandler FtpAuthHandler FtpFileSystemHandler
* @run main/othervm/timeout=500 B6427768
--- a/jdk/test/sun/net/idn/PunycodeTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/idn/PunycodeTest.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @summary Unit test for sun.net.idn.Punycode
* @bug 4737170
+ * @modules java.base/sun.net.idn
* @compile -XDignore.symbol.file PunycodeTest.java
* @run main/othervm -ea PunycodeTest
* @author Edward Wang
--- a/jdk/test/sun/net/idn/TestStringPrep.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/idn/TestStringPrep.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @summary Unit test for sun.net.idn.Punycode
* @bug 4737170
+ * @modules java.base/sun.net.idn java.base/sun.text.normalizer
* @library .
* @compile -XDignore.symbol.file TestStringPrep.java NFS4StringPrep.java
* TestData.java
--- a/jdk/test/sun/net/www/AuthHeaderTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/www/AuthHeaderTest.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/**
* @test
* @bug 4804309
+ * @modules java.base/sun.net.www
* @library ../../../sun/net/www/httptest/
* @build HttpCallback TestHttpServer ClosedChannelList HttpTransaction
* @run main AuthHeaderTest
--- a/jdk/test/sun/net/www/EmbeddedEquals.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/www/EmbeddedEquals.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/**
* @test
* @bug 4456995
+ * @modules java.base/sun.net.www
* @summary HeaderParser misinterprets a '=' character embedded in value
*/
--- a/jdk/test/sun/net/www/HeaderTests.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/www/HeaderTests.java Thu May 28 10:54:48 2015 -0700
@@ -23,6 +23,7 @@
/**
* @test
+ * @modules java.base/sun.net.www
* @summary Tests for HeaderParser and MessageHeader
*
* Test of HeaderParser, MessageHeader changes
@@ -31,7 +32,6 @@
import sun.net.www.HeaderParser;
import sun.net.www.MessageHeader;
-import sun.net.www.protocol.http.AuthenticationHeader;
import java.io.*;
import java.util.Iterator;
--- a/jdk/test/sun/net/www/MessageHeaderTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/www/MessageHeaderTest.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/**
* @test
* @bug 8003948
+ * @modules java.base/sun.net.www
* @run main MessageHeaderTest
*/
import java.io.*;
--- a/jdk/test/sun/net/www/ParseUtil_4922813.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/www/ParseUtil_4922813.java Thu May 28 10:54:48 2015 -0700
@@ -22,8 +22,9 @@
*/
/* @test
- @bug 4922813
- @summary Check the new impl of encodePath will not cause regression
+ * @bug 4922813
+ * @summary Check the new impl of encodePath will not cause regression
+ * @modules java.base/sun.net.www
@key randomness
*/
--- a/jdk/test/sun/net/www/ParseUtil_6274990.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/www/ParseUtil_6274990.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/* @test
* @summary REGRESSION: URLConnection.connect() throws Exception with non UTF-8 char
* @bug 6274990
+ * @modules java.base/sun.net.www
*/
import sun.net.www.*;
--- a/jdk/test/sun/net/www/ParseUtil_6306697.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/www/ParseUtil_6306697.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/* @test
* @summary PIT: CookieManager/TestCookieManager/TestCookieManager3 failed in Mustang PIT b47
* @bug 6306697
+ * @modules java.base/sun.net.www
*/
import sun.net.www.ParseUtil;
--- a/jdk/test/sun/net/www/ParseUtil_6380332.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/www/ParseUtil_6380332.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/* @test
* @summary SunTea applet fails to load under Mustang
* @bug 6380332
+ * @modules java.base/sun.net.www
*/
import sun.net.www.ParseUtil;
--- a/jdk/test/sun/net/www/ParseUtil_6478588.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/www/ParseUtil_6478588.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/* @test
* @summary StringIndexOutOfBoundsException in HttpURLConnection.getResponseCode
* @bug 6478588
+ * @modules java.base/sun.net.www
*/
import sun.net.www.ParseUtil;
--- a/jdk/test/sun/net/www/http/ChunkedInputStream/ChunkedEncodingWithProgressMonitorTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/www/http/ChunkedInputStream/ChunkedEncodingWithProgressMonitorTest.java Thu May 28 10:54:48 2015 -0700
@@ -24,8 +24,9 @@
/**
* @test
* @bug 4333920 4994372
+ * @summary ChunkedEncoding unit test; MeteredStream/ProgressData problem
+ * @modules java.base/sun.net
* @run main ChunkedEncodingWithProgressMonitorTest
- * @summary ChunkedEncoding unit test; MeteredStream/ProgressData problem
*/
import java.net.*;
--- a/jdk/test/sun/net/www/http/HttpClient/GetProxyPort.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/www/http/HttpClient/GetProxyPort.java Thu May 28 10:54:48 2015 -0700
@@ -25,7 +25,8 @@
* @test
* @bug 5025019
* @summary REGRESSION: Sun implementation for HttpURLConnection could throw NPE
- *
+ * @modules java.base/sun.net
+ * java.base/sun.net.www.http
*/
import java.net.ServerSocket;
import java.net.URL;
--- a/jdk/test/sun/net/www/http/HttpClient/ImplicitFileName.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/www/http/HttpClient/ImplicitFileName.java Thu May 28 10:54:48 2015 -0700
@@ -24,9 +24,10 @@
/*
* @test
* @bug 4251209
- * @summary Make sure that implicit filenames will be returned as
- * "/"
-*/
+ * @summary Make sure that implicit filenames will be returned as "/"
+ * @modules java.base/sun.net
+ * java.base/sun.net.www.http
+ */
import java.net.URL;
import java.net.ServerSocket;
--- a/jdk/test/sun/net/www/http/HttpClient/IsAvailable.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/www/http/HttpClient/IsAvailable.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,8 @@
* @bug 8009650
* @summary HttpClient available() check throws SocketException when connection
* has been closed
+ * @modules java.base/sun.net
+ * java.base/sun.net.www.http
*/
import java.net.URL;
--- a/jdk/test/sun/net/www/http/HttpClient/IsKeepingAlive.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/www/http/HttpClient/IsKeepingAlive.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,8 @@
* @bug 4277155
* @summary Make sure HttpClient.getHttpKeepAliveSet() has
* doPrivileged() call at appropriate places.
+ * @modules java.base/sun.net
+ * java.base/sun.net.www.http
* @run main/othervm/policy=IsKeepingAlive.policy IsKeepingAlive
*/
--- a/jdk/test/sun/net/www/http/HttpClient/OpenServer.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/www/http/HttpClient/OpenServer.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,7 @@
* @bug 4154481
* @summary Make sure HttpClient has
* doPrivileged() calls at appropriate places.
+ * @modules java.base/sun.net.www.http
* @run main/othervm/policy=OpenServer.policy OpenServer
*/
--- a/jdk/test/sun/net/www/http/HttpClient/ProxyFromCache.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/www/http/HttpClient/ProxyFromCache.java Thu May 28 10:54:48 2015 -0700
@@ -24,8 +24,9 @@
/*
* @test
* @bug 6498566
+ * @summary URL.openConnection(Proxy.NO_PROXY) may connect through a proxy.
+ * @modules java.base/sun.net.www
* @run main/othervm ProxyFromCache
- * @summary URL.openConnection(Proxy.NO_PROXY) may connect through a proxy.
*/
import java.net.*;
--- a/jdk/test/sun/net/www/http/HttpClient/RequestURI.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/www/http/HttpClient/RequestURI.java Thu May 28 10:54:48 2015 -0700
@@ -24,8 +24,9 @@
/*
* @test
* @bug 6469663
+ * @summary HTTP Request-URI contains fragment when connecting through proxy
+ * @modules java.base/sun.net.www
* @run main/othervm RequestURI
- * @summary HTTP Request-URI contains fragment when connecting through proxy
*/
import java.net.*;
--- a/jdk/test/sun/net/www/http/KeepAliveCache/B5045306.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/www/http/KeepAliveCache/B5045306.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/*
* @test
* @bug 5045306 6356004 6993490
+ * @modules java.base/sun.net.www
* @library ../../httptest/
* @build HttpCallback TestHttpServer HttpTransaction
* @run main/othervm B5045306
--- a/jdk/test/sun/net/www/protocol/ftp/UserAndPasswordTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/www/protocol/ftp/UserAndPasswordTest.java Thu May 28 10:54:48 2015 -0700
@@ -39,7 +39,6 @@
import java.util.*;
import java.util.jar.*;
import java.util.zip.*;
-import sun.net.ftp.FtpLoginException;
public class UserAndPasswordTest {
--- a/jdk/test/sun/net/www/protocol/http/B6296310.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/www/protocol/http/B6296310.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/*
* @test
* @bug 6296310
+ * @modules java.base/sun.net.www
* @library ../../httptest/
* @build HttpCallback TestHttpServer HttpTransaction
* @run main/othervm B6296310
--- a/jdk/test/sun/net/www/protocol/http/CloseOptionHeader.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/www/protocol/http/CloseOptionHeader.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/**
* @test
* @bug 6189206
+ * @modules java.base/sun.net.www
* @run main/othervm -Dhttp.keepAlive=false CloseOptionHeader
* @summary HTTP client should set "Connection: close" header in request when keepalive is disabled
*/
--- a/jdk/test/sun/net/www/protocol/http/DigestTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/www/protocol/http/DigestTest.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/**
* @test
* @bug 4432213
+ * @modules java.base/sun.net.www
* @run main/othervm -Dhttp.auth.digest.validateServer=true DigestTest
* @summary Need to support Digest Authentication for Proxies
*/
--- a/jdk/test/sun/net/www/protocol/http/NTLMTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/www/protocol/http/NTLMTest.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/*
* @test
* @bug 6520665 6357133
+ * @modules java.base/sun.net.www
* @run main/othervm NTLMTest
* @summary 6520665 & 6357133: NTLM authentication issues.
*/
--- a/jdk/test/sun/net/www/protocol/http/NoNTLM.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/www/protocol/http/NoNTLM.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @bug 8004502
* @summary Sanity check that NTLM will not be selected by the http protocol
* handler when running on a profile that does not support NTLM
+ * @modules java.base/sun.net.www
* @run main/othervm NoNTLM
*/
--- a/jdk/test/sun/net/www/protocol/http/RelativeRedirect.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/www/protocol/http/RelativeRedirect.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/**
* @test
* @bug 4726087
+ * @modules java.base/sun.net.www
* @library ../../httptest/
* @build HttpCallback TestHttpServer ClosedChannelList HttpTransaction
* @run main RelativeRedirect
--- a/jdk/test/sun/net/www/protocol/http/ResponseCacheStream.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/www/protocol/http/ResponseCacheStream.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/*
* @test
* @bug 6262486
+ * @modules java.base/sun.net.www
* @library ../../httptest/
* @build HttpCallback TestHttpServer ClosedChannelList HttpTransaction
* @run main/othervm -Dhttp.keepAlive=false ResponseCacheStream
--- a/jdk/test/sun/net/www/protocol/http/RetryUponTimeout.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/www/protocol/http/RetryUponTimeout.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 4772077
* @summary using defaultReadTimeout appear to retry request upon timeout
+ * @modules java.base/sun.net.www
*/
import java.net.*;
--- a/jdk/test/sun/net/www/protocol/http/SetChunkedStreamingMode.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/www/protocol/http/SetChunkedStreamingMode.java Thu May 28 10:54:48 2015 -0700
@@ -24,8 +24,9 @@
/**
* @test
* @bug 5049976
+ * @modules java.base/sun.net.www
* @library ../../httptest/
- @build HttpCallback TestHttpServer ClosedChannelList HttpTransaction
+ * @build HttpCallback TestHttpServer ClosedChannelList HttpTransaction
* @run main SetChunkedStreamingMode
* @summary Unspecified NPE is thrown when streaming output mode is enabled
*/
--- a/jdk/test/sun/net/www/protocol/http/TunnelThroughProxy.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/www/protocol/http/TunnelThroughProxy.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/**
* @test
* @bug 4620362
+ * @modules java.base/sun.net.www
* @run main/othervm TunnelThroughProxy
* @summary JSSE not returning proper exception on unknown host
*/
--- a/jdk/test/sun/net/www/protocol/http/UserAgent.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/www/protocol/http/UserAgent.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/**
* @test
* @bug 4512200
+ * @modules java.base/sun.net.www
* @run main/othervm -Dhttp.agent=foo UserAgent
* @summary HTTP header "User-Agent" format incorrect
*/
--- a/jdk/test/sun/net/www/protocol/http/ZoneId.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/www/protocol/http/ZoneId.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/*
* @test
* @bug 8027308
+ * @modules java.base/sun.net.www.protocol.http
* @summary verifies that HttpURLConnection does not send the zone id in the
* 'Host' field of the header:
* Host: [fe80::a00:27ff:aaaa:aaaa] instead of
--- a/jdk/test/sun/net/www/protocol/https/ChunkedOutputStream.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/www/protocol/https/ChunkedOutputStream.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/**
* @test
* @bug 5026745
+ * @modules java.base/sun.net.www
* @library ../../httpstest/
* @build TestHttpsServer HttpCallback
* @run main/othervm ChunkedOutputStream
--- a/jdk/test/sun/net/www/protocol/https/HttpsClient/ProxyAuthTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/www/protocol/https/HttpsClient/ProxyAuthTest.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,7 @@
* @bug 4323990 4413069
* @summary HttpsURLConnection doesn't send Proxy-Authorization on CONNECT
* Incorrect checking of proxy server response
+ * @modules java.base/sun.net.www
* @run main/othervm ProxyAuthTest
*
* No way to reserve and restore java.lang.Authenticator, need to run this
--- a/jdk/test/sun/net/www/protocol/https/HttpsURLConnection/B6216082.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/www/protocol/https/HttpsURLConnection/B6216082.java Thu May 28 10:54:48 2015 -0700
@@ -24,11 +24,12 @@
/*
* @test
* @bug 6216082
- * @library ..
- * @build HttpCallback TestHttpsServer ClosedChannelList HttpTransaction TunnelProxy
* @summary Redirect problem with HttpsURLConnection using a proxy
* SunJSSE does not support dynamic system properties, no way to re-use
* system properties in samevm/agentvm mode.
+ * @modules java.base/sun.net.www
+ * @library ..
+ * @build HttpCallback TestHttpsServer ClosedChannelList HttpTransaction TunnelProxy
* @run main/othervm B6216082
*/
--- a/jdk/test/sun/net/www/protocol/https/HttpsURLConnection/B6226610.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/www/protocol/https/HttpsURLConnection/B6226610.java Thu May 28 10:54:48 2015 -0700
@@ -24,8 +24,9 @@
/*
* @test
* @bug 6226610 6973030
+ * @summary HTTP tunnel connections send user headers to proxy
+ * @modules java.base/sun.net.www
* @run main/othervm B6226610
- * @summary HTTP tunnel connections send user headers to proxy
*/
/* This class includes a proxy server that processes the HTTP CONNECT request,
--- a/jdk/test/sun/net/www/protocol/https/HttpsURLConnection/CheckMethods.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/www/protocol/https/HttpsURLConnection/CheckMethods.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,7 @@
* @bug 4423074
* @summary Need to rebase all the duplicated classes from Merlin.
* This test will check out http POST
+ * @modules java.base/sun.net.www.protocol.https java.base/com.sun.net.ssl.internal.www.protocol.https
*/
import java.net.*;
import java.util.*;
--- a/jdk/test/sun/net/www/protocol/https/HttpsURLConnection/DNSIdentities.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/www/protocol/https/HttpsURLConnection/DNSIdentities.java Thu May 28 10:54:48 2015 -0700
@@ -46,8 +46,6 @@
import java.security.interfaces.*;
import java.math.BigInteger;
-import sun.security.ssl.SSLSocketImpl;
-
/*
* Certificates and key used in the test.
*
--- a/jdk/test/sun/net/www/protocol/https/HttpsURLConnection/IPAddressDNSIdentities.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/www/protocol/https/HttpsURLConnection/IPAddressDNSIdentities.java Thu May 28 10:54:48 2015 -0700
@@ -43,8 +43,6 @@
import java.security.interfaces.*;
import java.math.BigInteger;
-import sun.security.ssl.SSLSocketImpl;
-
/*
* Certificates and key used in the test.
*
--- a/jdk/test/sun/net/www/protocol/https/HttpsURLConnection/IPAddressIPIdentities.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/www/protocol/https/HttpsURLConnection/IPAddressIPIdentities.java Thu May 28 10:54:48 2015 -0700
@@ -46,8 +46,6 @@
import java.security.interfaces.*;
import java.math.BigInteger;
-import sun.security.ssl.SSLSocketImpl;
-
/*
* Certificates and key used in the test.
*
--- a/jdk/test/sun/net/www/protocol/https/HttpsURLConnection/IPIdentities.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/www/protocol/https/HttpsURLConnection/IPIdentities.java Thu May 28 10:54:48 2015 -0700
@@ -46,8 +46,6 @@
import java.security.interfaces.*;
import java.math.BigInteger;
-import sun.security.ssl.SSLSocketImpl;
-
/*
* Certificates and key used in the test.
*
--- a/jdk/test/sun/net/www/protocol/https/HttpsURLConnection/Identities.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/www/protocol/https/HttpsURLConnection/Identities.java Thu May 28 10:54:48 2015 -0700
@@ -46,8 +46,6 @@
import java.security.interfaces.*;
import java.math.BigInteger;
-import sun.security.ssl.SSLSocketImpl;
-
/*
* Certificates and key used in the test.
*
--- a/jdk/test/sun/net/www/protocol/https/NewImpl/ComHTTPSConnection.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/www/protocol/https/NewImpl/ComHTTPSConnection.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,8 @@
* @test
* @bug 4474255
* @summary Can no longer obtain a com.sun.net.ssl.HttpsURLConnection
+ * @modules java.base/com.sun.net.ssl
+ * java.base/com.sun.net.ssl.internal.www.protocol.https
* @run main/othervm ComHTTPSConnection
*
* SunJSSE does not support dynamic system properties, no way to re-use
--- a/jdk/test/sun/net/www/protocol/https/NewImpl/ComHostnameVerifier.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/net/www/protocol/https/NewImpl/ComHostnameVerifier.java Thu May 28 10:54:48 2015 -0700
@@ -28,6 +28,8 @@
* @bug 4484246
* @summary When an application enables anonymous SSL cipher suite,
* Hostname verification is not required
+ * @modules java.base/com.sun.net.ssl
+ * java.base/com.sun.net.ssl.internal.www.protocol.https
* @run main/othervm ComHostnameVerifier
*
* SunJSSE does not support dynamic system properties, no way to re-use
--- a/jdk/test/sun/nio/cs/OLD/TestIBMDB.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/nio/cs/OLD/TestIBMDB.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,7 @@
* @bug 6843578
* @summary Test old and new implementation of db charsets
* @build IBM930_OLD IBM933_OLD IBM935_OLD IBM937_OLD IBM939_OLD IBM942_OLD IBM943_OLD IBM948_OLD IBM949_OLD IBM950_OLD IBM970_OLD IBM942C_OLD IBM943C_OLD IBM949C_OLD IBM1381_OLD IBM1383_OLD EUC_CN_OLD EUC_KR_OLD GBK_OLD Johab_OLD MS932_OLD MS936_OLD MS949_OLD MS950_OLD SJIS_OLD PCK_OLD EUC_JP_OLD EUC_JP_LINUX_OLD EUC_JP_Open_OLD
+ * @modules java.base/sun.nio.cs jdk.charsets/sun.nio.cs.ext
* @run main TestIBMDB
*/
--- a/jdk/test/sun/nio/cs/TestEUC_TW.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/nio/cs/TestEUC_TW.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 6831794 6229811
* @summary Test EUC_TW charset
+ * @modules java.base/sun.nio.cs
*/
import java.nio.charset.*;
--- a/jdk/test/sun/nio/cs/TestStringCoding.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/nio/cs/TestStringCoding.java Thu May 28 10:54:48 2015 -0700
@@ -22,8 +22,9 @@
*/
/* @test
- @bug 6636323 6636319 7040220 7096080 7183053 8080248
- @summary Test if StringCoding and NIO result have the same de/encoding result
+ * @bug 6636323 6636319 7040220 7096080 7183053 8080248
+ * @summary Test if StringCoding and NIO result have the same de/encoding result
+ * @modules java.base/sun.nio.cs
* @run main/othervm/timeout=2000 TestStringCoding
* @key randomness
*/
--- a/jdk/test/sun/reflect/AnonymousNewInstance/ManyNewInstanceAnonTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/reflect/AnonymousNewInstance/ManyNewInstanceAnonTest.java Thu May 28 10:54:48 2015 -0700
@@ -25,8 +25,10 @@
* @test
* @bug 7194897
* @summary JSR 292: Cannot create more than 16 instances of an anonymous class
+ * @modules java.base/sun.misc
+ * @modules java.management
+ * @library /lib/testlibrary
* @author Robert Field
- * @library /lib/testlibrary
* @compile -XDignore.symbol.file ManyNewInstanceAnonTest.java
* @build jdk.testlibrary.*
* @run main ClassFileInstaller ManyNewInstanceAnonTest
--- a/jdk/test/sun/reflect/CallerSensitive/CallerSensitiveFinder.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/reflect/CallerSensitive/CallerSensitiveFinder.java Thu May 28 10:54:48 2015 -0700
@@ -48,6 +48,7 @@
* @bug 8010117
* @summary Verify if CallerSensitive methods are annotated with
* sun.reflect.CallerSensitive annotation
+ * @modules jdk.compiler/com.sun.tools.classfile jdk.jdeps/com.sun.tools.jdeps
* @build CallerSensitiveFinder
* @run main/othervm/timeout=900 CallerSensitiveFinder
*/
--- a/jdk/test/sun/reflect/CallerSensitive/MissingCallerSensitive.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/reflect/CallerSensitive/MissingCallerSensitive.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,10 @@
* @test
* @bug 8010117
* @summary Test CallerSensitiveFinder to find missing annotation
+ * @modules java.base/sun.reflect
+ * jdk.jdeps/com.sun.tools.classfile
+ * jdk.jdeps/com.sun.tools.jdeps
+ * @modules java.base/sun.reflect
* @compile -XDignore.symbol.file MissingCallerSensitive.java
* @build CallerSensitiveFinder
* @run main MissingCallerSensitive
--- a/jdk/test/sun/reflect/Reflection/GetCallerClassWithDepth.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/reflect/Reflection/GetCallerClassWithDepth.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 8025799
* @summary sun.reflect.Reflection.getCallerClass(int)
+ * @modules java.base/sun.reflect
* @run main GetCallerClassWithDepth
*/
--- a/jdk/test/sun/rmi/log/ReliableLog/LogAlignmentTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/rmi/log/ReliableLog/LogAlignmentTest.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @bug 4094889
* @summary rmid can have a corrupted log
*
+ * @modules java.rmi/sun.rmi.log
* @run main/othervm LogAlignmentTest
*/
--- a/jdk/test/sun/rmi/log/ReliableLog/SnapshotSize.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/rmi/log/ReliableLog/SnapshotSize.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,7 @@
* @summary Verify that ReliableLog.snapshotSize() returns correct snapshot
* file size even if LogHandler doesn't flush.
*
+ * @modules java.rmi/sun.rmi.log
* @run main/othervm SnapshotSize
*/
--- a/jdk/test/sun/rmi/rmic/classpath/RMICClassPathTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/rmi/rmic/classpath/RMICClassPathTest.java Thu May 28 10:54:48 2015 -0700
@@ -30,6 +30,8 @@
* @summary New constructor in sun.tools.java.ClassPath builds a path using
* File.separator instead of File.pathSeparator. This test does
* not affect VM global state, so othervm is not required.
+ * @modules jdk.rmic/sun.rmi.rmic
+ * jdk.rmic/sun.tools.java
* @run main RMICClassPathTest
*/
--- a/jdk/test/sun/rmi/rmic/iiopCompilation/IIOPCompilation.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/rmi/rmic/iiopCompilation/IIOPCompilation.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,11 @@
/* @test
* @bug 8065957
* @library ../../../../java/rmi/testlibrary
+ * @modules java.corba
+ * java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary
* @summary Compiles a PortableRemoteObject with rmic -iiop and ensures that stub and tie classes are generated.
* @run main IIOPCompilation
--- a/jdk/test/sun/rmi/runtime/Log/4504153/Test4504153.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/rmi/runtime/Log/4504153/Test4504153.java Thu May 28 10:54:48 2015 -0700
@@ -28,6 +28,10 @@
* @author Peter Jones
*
* @library ../../../../../java/rmi/testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build JavaVM
* @run main/othervm Test4504153
*/
--- a/jdk/test/sun/rmi/runtime/Log/6409194/NoConsoleOutput.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/rmi/runtime/Log/6409194/NoConsoleOutput.java Thu May 28 10:54:48 2015 -0700
@@ -31,6 +31,10 @@
* @author Peter Jones
*
* @library ../../../../../java/rmi/testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary JavaVM
* @run main/othervm NoConsoleOutput
*/
--- a/jdk/test/sun/rmi/runtime/Log/checkLogging/CheckLogStreams.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/rmi/runtime/Log/checkLogging/CheckLogStreams.java Thu May 28 10:54:48 2015 -0700
@@ -28,6 +28,10 @@
* @author Laird Dornin
*
* @library ../../../../../java/rmi/testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary CheckLogging
* @run main/othervm -Dsun.rmi.log.useOld=true CheckLogStreams
*/
--- a/jdk/test/sun/rmi/runtime/Log/checkLogging/CheckLogging.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/rmi/runtime/Log/checkLogging/CheckLogging.java Thu May 28 10:54:48 2015 -0700
@@ -28,6 +28,10 @@
* @author Laird Dornin
*
* @library ../../../../../java/rmi/testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary
* @run main/othervm CheckLogging
*/
--- a/jdk/test/sun/rmi/server/MarshalOutputStream/marshalForeignStub/MarshalForeignStub.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/rmi/server/MarshalOutputStream/marshalForeignStub/MarshalForeignStub.java Thu May 28 10:54:48 2015 -0700
@@ -31,6 +31,10 @@
* @author Ann Wollrath
*
* @library ../../../../../java/rmi/testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary Receiver MarshalForeignStub_Stub
* @run main/othervm/policy=security.policy MarshalForeignStub
*/
--- a/jdk/test/sun/rmi/transport/proxy/DisableHttpDefaultValue.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/rmi/transport/proxy/DisableHttpDefaultValue.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @bug 8023862
* @summary Verify that the default value of the java.rmi.server.disableHttp
* has been changed from false to true.
+ * @modules java.rmi/sun.rmi.transport.proxy
* @compile -XDignore.symbol.file DisableHttpDefaultValue.java
*
* @run main/othervm DisableHttpDefaultValue true
--- a/jdk/test/sun/rmi/transport/proxy/EagerHttpFallback.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/rmi/transport/proxy/EagerHttpFallback.java Thu May 28 10:54:48 2015 -0700
@@ -27,6 +27,10 @@
* sun.rmi.transport.proxy.eagerHttpFallback system property is set.
*
* @library ../../../../java/rmi/testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary
* @run main/othervm EagerHttpFallback
*/
--- a/jdk/test/sun/rmi/transport/tcp/DeadCachedConnection.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/rmi/transport/tcp/DeadCachedConnection.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,10 @@
* @bug 4094891
* @summary unable to retry call if cached connection to server is used
* @library ../../../../java/rmi/testlibrary
+ * @modules java.rmi/sun.rmi.registry
+ * java.rmi/sun.rmi.server
+ * java.rmi/sun.rmi.transport
+ * java.rmi/sun.rmi.transport.tcp
* @build TestLibrary JavaVM
* @run main/othervm DeadCachedConnection
*/
--- a/jdk/test/sun/rmi/transport/tcp/blockAccept/BlockAcceptTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/rmi/transport/tcp/blockAccept/BlockAcceptTest.java Thu May 28 10:54:48 2015 -0700
@@ -28,6 +28,7 @@
* @author Adrian Colley
*
* @library ../../../../../java/rmi/testlibrary
+ * @modules java.rmi/sun.rmi.transport.proxy
* @build TestIface TestImpl TestImpl_Stub
* @run main/othervm/policy=security.policy/timeout=60 BlockAcceptTest
*/
--- a/jdk/test/sun/security/action/Generify.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/action/Generify.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 5057136
* @summary Generify sun.security.action.GetPropertyAction and friends
+ * @modules java.base/sun.security.action
*/
import java.io.*;
--- a/jdk/test/sun/security/action/GetLongAction/ReturnNullIfNoDefault.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/action/GetLongAction/ReturnNullIfNoDefault.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,7 @@
* @bug 4173993
* @summary Make sure "null" is returned if property does not exist (or has
* wrong numeric format) and no default has been specified.
+ * @modules java.base/sun.security.action
*/
import sun.security.action.*;
--- a/jdk/test/sun/security/ec/TestEC.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/ec/TestEC.java Thu May 28 10:54:48 2015 -0700
@@ -34,6 +34,7 @@
* @library ../pkcs11/ec
* @library ../pkcs11/sslecc
* @library ../../../java/security/testlibrary
+ * @modules jdk.crypto.pkcs11/sun.security.pkcs11.wrapper
* @compile -XDignore.symbol.file TestEC.java
* @run main/othervm TestEC
*/
--- a/jdk/test/sun/security/jgss/DefaultGssConfig.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/jgss/DefaultGssConfig.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 6483218
* @summary Provide a default login configuration
+ * @modules java.security.jgss/sun.security.jgss
*/
import java.io.FileNotFoundException;
--- a/jdk/test/sun/security/jgss/GssNPE.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/jgss/GssNPE.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/*
* @test
* @bug 6345338
+ * @modules java.security.jgss/sun.security.jgss
* @run main/othervm GssNPE
* @summary GSS throws NPE when the JAAS config file does not exist
*/
--- a/jdk/test/sun/security/jgss/spnego/NegTokenTargFields.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/jgss/spnego/NegTokenTargFields.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 7040151
* @summary SPNEGO GSS code does not parse tokens in accordance to RFC 2478
+ * @modules java.security.jgss/sun.security.jgss.spnego
* @compile -XDignore.symbol.file NegTokenTargFields.java
* @run main NegTokenTargFields nomech
* @run main/fail NegTokenTargFields badorder
--- a/jdk/test/sun/security/jgss/spnego/NoSpnegoAsDefMech.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/jgss/spnego/NoSpnegoAsDefMech.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/*
* @test
* @bug 6770883
+ * @modules java.security.jgss/sun.security.jgss
* @run main/othervm NoSpnegoAsDefMech
* @summary Infinite loop if SPNEGO specified as sun.security.jgss.mechanism
*/
--- a/jdk/test/sun/security/jgss/spnego/NotPreferredMech.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/jgss/spnego/NotPreferredMech.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,9 @@
/*
* @test
* @bug 8048194
+ * @modules java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.jgss.spnego
* @run main/othervm NotPreferredMech
* @summary GSSContext.acceptSecContext fails when a supported mech is not initiator preferred
*/
--- a/jdk/test/sun/security/krb5/KrbCredSubKey.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/KrbCredSubKey.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,8 @@
/**
* @test
* @bug 7030180
+ * @modules java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
* @run main/othervm KrbCredSubKey
* @summary AES 128/256 decrypt exception
*/
--- a/jdk/test/sun/security/krb5/MicroTime.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/MicroTime.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
* @test
* @bug 6882687 8011124
* @summary KerberosTime too imprecise
+ * @modules java.security.jgss/sun.security.krb5.internal
*/
import sun.security.krb5.internal.KerberosTime;
--- a/jdk/test/sun/security/krb5/NegativeNonce.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/NegativeNonce.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
* @test
* @bug 6517944
* @summary Nonce should be UInt32
+ * @modules java.security.jgss/sun.security.krb5.internal.crypto
*/
import sun.security.krb5.internal.crypto.Nonce;
--- a/jdk/test/sun/security/krb5/OptionPADataInKDCReq.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/OptionPADataInKDCReq.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,8 @@
* @test
* @bug 6648972
* @summary KDCReq.init always read padata
+ * @modules java.base/sun.security.util
+ * java.security.jgss/sun.security.krb5.internal
*/
import sun.security.krb5.internal.ETypeInfo2;
import sun.security.krb5.internal.KDCReq;
--- a/jdk/test/sun/security/krb5/RFC396xTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/RFC396xTest.java Thu May 28 10:54:48 2015 -0700
@@ -23,6 +23,9 @@
/*
* @test
* @bug 6862679
+ * @modules java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.crypto.dk
* @run main/othervm RFC396xTest
* @summary ESC: AD Authentication with user with umlauts fails
*/
--- a/jdk/test/sun/security/krb5/ServiceCredsCombination.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/ServiceCredsCombination.java Thu May 28 10:54:48 2015 -0700
@@ -23,6 +23,7 @@
/*
* @test
* @bug 8005447
+ * @modules java.security.jgss/sun.security.jgss
* @compile -XDignore.symbol.file ServiceCredsCombination.java
* @run main ServiceCredsCombination
* @summary default principal can act as anyone
--- a/jdk/test/sun/security/krb5/TestPAData.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/TestPAData.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,8 @@
* @test
* @bug 6570062
* @summary Kerberos authentication regression
+ * @modules java.base/sun.security.util
+ * java.security.jgss/sun.security.krb5.internal
*/
import sun.security.krb5.internal.KRBError;
--- a/jdk/test/sun/security/krb5/UnknownCCEntry.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/UnknownCCEntry.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,8 @@
* @test
* @bug 6979329
* @summary CCacheInputStream fails to read ticket cache files from Kerberos 1.8.1
+ * @modules java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal.ccache
*/
import java.io.ByteArrayInputStream;
--- a/jdk/test/sun/security/krb5/auto/AcceptPermissions.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/AcceptPermissions.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,14 @@
* @test
* @bug 9999999
* @summary default principal can act as anyone
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @compile -XDignore.symbol.file AcceptPermissions.java
* @run main/othervm AcceptPermissions two
* @run main/othervm AcceptPermissions unbound
--- a/jdk/test/sun/security/krb5/auto/AcceptorSubKey.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/AcceptorSubKey.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,14 @@
* @test
* @bug 7077646
* @summary gssapi wrap for CFX per-message tokens always set FLAG_ACCEPTOR_SUBKEY
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @compile -XDignore.symbol.file AcceptorSubKey.java
* @run main/othervm AcceptorSubKey 0
* @run main/othervm AcceptorSubKey 4
--- a/jdk/test/sun/security/krb5/auto/AddressesAndNameType.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/AddressesAndNameType.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,13 @@
/*
* @test
* @bug 4501327 4868379 8039132
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @run main/othervm AddressesAndNameType 1
* @run main/othervm AddressesAndNameType 2
* @run main/othervm AddressesAndNameType 3
--- a/jdk/test/sun/security/krb5/auto/BadKdc1.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/BadKdc1.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,13 @@
/*
* @test
* @bug 6843127
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @run main/othervm/timeout=300 BadKdc1
* @summary krb5 should not try to access unavailable kdc too often
*/
--- a/jdk/test/sun/security/krb5/auto/BadKdc2.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/BadKdc2.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,13 @@
/*
* @test
* @bug 6843127
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @run main/othervm/timeout=300 BadKdc2
* @summary krb5 should not try to access unavailable kdc too often
*/
--- a/jdk/test/sun/security/krb5/auto/BadKdc3.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/BadKdc3.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,13 @@
/*
* @test
* @bug 6843127
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @run main/othervm/timeout=300 BadKdc3
* @summary krb5 should not try to access unavailable kdc too often
*/
--- a/jdk/test/sun/security/krb5/auto/BadKdc4.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/BadKdc4.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,13 @@
/*
* @test
* @bug 6843127
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @run main/othervm/timeout=300 BadKdc4
* @summary krb5 should not try to access unavailable kdc too often
*/
--- a/jdk/test/sun/security/krb5/auto/Basic.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/Basic.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,14 @@
* @test
* @bug 7152176
* @summary More krb5 tests
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @compile -XDignore.symbol.file Basic.java
* @run main/othervm Basic
*/
--- a/jdk/test/sun/security/krb5/auto/BasicKrb5Test.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/BasicKrb5Test.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,14 @@
* @test
* @bug 6706974
* @summary Add krb5 test infrastructure
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @compile -XDignore.symbol.file BasicKrb5Test.java
* @run main/othervm BasicKrb5Test
* @run main/othervm BasicKrb5Test des-cbc-crc
--- a/jdk/test/sun/security/krb5/auto/BasicProc.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/BasicProc.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,13 @@
* @bug 8009977
* @summary A test library to launch multiple Java processes
* @library ../../../../java/security/testlibrary/
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @compile -XDignore.symbol.file BasicProc.java
* @run main/othervm BasicProc
*/
--- a/jdk/test/sun/security/krb5/auto/CleanState.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/CleanState.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,13 @@
/*
* @test
* @bug 6716534
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @compile -XDignore.symbol.file CleanState.java
* @run main/othervm CleanState
* @summary Krb5LoginModule has not cleaned temp info between authentication attempts
--- a/jdk/test/sun/security/krb5/auto/CrossRealm.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/CrossRealm.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,14 @@
/*
* @test
* @bug 6706974
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @compile -XDignore.symbol.file CrossRealm.java
* @run main/othervm CrossRealm
* @summary Add krb5 test infrastructure
--- a/jdk/test/sun/security/krb5/auto/DiffNameSameKey.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/DiffNameSameKey.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,14 @@
* @test
* @bug 8005447
* @summary default principal can act as anyone
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @compile -XDignore.symbol.file DiffNameSameKey.java
* @run main/othervm/fail DiffNameSameKey a
* @run main/othervm DiffNameSameKey b
--- a/jdk/test/sun/security/krb5/auto/DupEtypes.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/DupEtypes.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,14 @@
* @test
* @bug 7067974
* @summary multiple ETYPE-INFO-ENTRY with same etype and different salt
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @compile -XDignore.symbol.file DupEtypes.java
* @run main/othervm DupEtypes 1
* @run main/othervm DupEtypes 2
--- a/jdk/test/sun/security/krb5/auto/DynamicKeytab.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/DynamicKeytab.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,14 @@
/*
* @test
* @bug 6894072
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @compile -XDignore.symbol.file DynamicKeytab.java
* @run main/othervm DynamicKeytab
* @summary always refresh keytab
--- a/jdk/test/sun/security/krb5/auto/EmptyPassword.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/EmptyPassword.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,13 @@
* @test
* @bug 6879540
* @summary enable empty password for kerberos 5
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @compile -XDignore.symbol.file EmptyPassword.java
* @run main/othervm EmptyPassword
*/
--- a/jdk/test/sun/security/krb5/auto/FileKeyTab.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/FileKeyTab.java Thu May 28 10:54:48 2015 -0700
@@ -25,13 +25,19 @@
* @test
* @bug 7152121
* @summary Krb5LoginModule no longer handles keyTabNames with "file:" prefix
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @compile -XDignore.symbol.file FileKeyTab.java
* @run main/othervm FileKeyTab
*/
import java.io.File;
import java.io.FileOutputStream;
-import sun.security.jgss.GSSUtil;
// The basic krb5 test skeleton you can copy from
public class FileKeyTab {
--- a/jdk/test/sun/security/krb5/auto/ForwardableCheck.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/ForwardableCheck.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,14 @@
* @test
* @bug 8022582
* @summary Relax response flags checking in sun.security.krb5.KrbKdcRep.check.
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @compile -XDignore.symbol.file ForwardableCheck.java
* @run main/othervm ForwardableCheck
*/
--- a/jdk/test/sun/security/krb5/auto/GSS.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/GSS.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,14 @@
* @test
* @bug 7152176
* @summary More krb5 tests
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @compile -XDignore.symbol.file GSS.java
* @run main/othervm GSS
*/
--- a/jdk/test/sun/security/krb5/auto/GSSUnbound.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/GSSUnbound.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,14 @@
* @test
* @bug 8001104
* @summary Unbound SASL service: the GSSAPI/krb5 mech
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @compile -XDignore.symbol.file GSSUnbound.java
* @run main/othervm GSSUnbound
*/
--- a/jdk/test/sun/security/krb5/auto/HttpNegotiateServer.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/HttpNegotiateServer.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,15 @@
/*
* @test
* @bug 6578647 6829283
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.base/sun.util.logging
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @run main/othervm HttpNegotiateServer
* @summary Undefined requesting URL in java.net.Authenticator.getPasswordAuthentication()
* @summary HTTP/Negotiate: Authenticator triggered again when user cancels the first one
--- a/jdk/test/sun/security/krb5/auto/IgnoreChannelBinding.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/IgnoreChannelBinding.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,14 @@
/*
* @test
* @bug 6851973
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @run main/othervm IgnoreChannelBinding
* @summary ignore incoming channel binding if acceptor does not set one
*/
--- a/jdk/test/sun/security/krb5/auto/KPEquals.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/KPEquals.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,14 @@
* @test
* @bug 8015669
* @summary KerberosPrincipal::equals should ignore name-type
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @compile -XDignore.symbol.file KPEquals.java
* @run main/othervm KPEquals
*/
--- a/jdk/test/sun/security/krb5/auto/KeyPermissions.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/KeyPermissions.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,14 @@
* @test
* @bug 8004488
* @summary wrong permissions checked in krb5
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @compile -XDignore.symbol.file KeyPermissions.java
* @run main/othervm KeyPermissions
*/
--- a/jdk/test/sun/security/krb5/auto/KeyTabCompat.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/KeyTabCompat.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,14 @@
* @test
* @bug 6894072
* @bug 8004488
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @compile -XDignore.symbol.file KeyTabCompat.java
* @run main/othervm KeyTabCompat
* @summary always refresh keytab
--- a/jdk/test/sun/security/krb5/auto/KvnoNA.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/KvnoNA.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,14 @@
/*
* @test
* @bug 7197159
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @compile -XDignore.symbol.file KvnoNA.java
* @run main/othervm KvnoNA
* @summary accept different kvno if there no match
--- a/jdk/test/sun/security/krb5/auto/LifeTimeInSeconds.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/LifeTimeInSeconds.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,13 @@
/*
* @test
* @bug 6857802
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @run main/othervm LifeTimeInSeconds
* @summary GSS getRemainingInitLifetime method returns milliseconds not seconds
*/
--- a/jdk/test/sun/security/krb5/auto/LoginModuleOptions.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/LoginModuleOptions.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,13 @@
/*
* @test
* @bug 6765491
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @run main/othervm LoginModuleOptions
* @summary Krb5LoginModule a little too restrictive, and the doc is not clear.
*/
--- a/jdk/test/sun/security/krb5/auto/LoginNoPass.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/LoginNoPass.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,14 @@
* @test
* @bug 8028351
* @summary JWS doesn't get authenticated when using kerberos auth proxy
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @compile -XDignore.symbol.file LoginNoPass.java
* @run main/othervm LoginNoPass
*/
--- a/jdk/test/sun/security/krb5/auto/MSOID2.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/MSOID2.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,15 @@
* @test
* @bug 8078439
* @summary SPNEGO auth fails if client proposes MS krb5 OID
+ * @modules java.base/sun.misc
+ * java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @compile -XDignore.symbol.file MSOID2.java
* @run main/othervm MSOID2
*/
--- a/jdk/test/sun/security/krb5/auto/MaxRetries.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/MaxRetries.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,13 @@
/*
* @test
* @bug 6844193
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @compile -XDignore.symbol.file MaxRetries.java
* @run main/othervm/timeout=300 MaxRetries
* @summary support max_retries in krb5.conf
--- a/jdk/test/sun/security/krb5/auto/MoreKvno.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/MoreKvno.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,14 @@
/*
* @test
* @bug 6893158 6907425 7197159
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @run main/othervm MoreKvno
* @summary AP_REQ check should use key version number
*/
--- a/jdk/test/sun/security/krb5/auto/NewInquireTypes.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/NewInquireTypes.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,14 @@
* @test
* @bug 8043071
* @summary Expose session key and KRB_CRED through extended GSS-API
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @compile -XDignore.symbol.file NewInquireTypes.java
* @run main/othervm NewInquireTypes
*/
--- a/jdk/test/sun/security/krb5/auto/NewSalt.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/NewSalt.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,14 @@
* @test
* @bug 6960894
* @summary Better AS-REQ creation and processing
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @run main/othervm NewSalt
* @run main/othervm -Dnopreauth NewSalt
* @run main/othervm -Donlyonepreauth NewSalt
--- a/jdk/test/sun/security/krb5/auto/NoAddresses.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/NoAddresses.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,14 @@
/*
* @test
* @bug 7032354
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @run main/othervm NoAddresses 1
* @run main/othervm NoAddresses 2
* @run main/othervm/fail NoAddresses 3
--- a/jdk/test/sun/security/krb5/auto/NoInitNoKeytab.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/NoInitNoKeytab.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,14 @@
* @test
* @bug 7089889
* @summary Krb5LoginModule.login() throws an exception if used without a keytab
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @compile -XDignore.symbol.file NoInitNoKeytab.java
* @run main/othervm NoInitNoKeytab
*/
--- a/jdk/test/sun/security/krb5/auto/NonMutualSpnego.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/NonMutualSpnego.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,14 @@
/*
* @test
* @bug 6733095
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @run main/othervm NonMutualSpnego
* @summary Failure when SPNEGO request non-Mutual
*/
--- a/jdk/test/sun/security/krb5/auto/NoneReplayCacheTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/NoneReplayCacheTest.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,14 @@
/*
* @test
* @bug 8001326
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @run main/othervm NoneReplayCacheTest
* @summary the replaycache type none cannot stop an authenticator replay,
* but it can stop a message replay when s.s.k.acceptor.subkey is true.
--- a/jdk/test/sun/security/krb5/auto/OkAsDelegate.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/OkAsDelegate.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,14 @@
/*
* @test
* @bug 6853328 7172701
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @run main/othervm OkAsDelegate false true true false false false
* FORWARDABLE ticket not allowed, always fail
* @run main/othervm OkAsDelegate true false false false false false
--- a/jdk/test/sun/security/krb5/auto/OkAsDelegateXRealm.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/OkAsDelegateXRealm.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,14 @@
/*
* @test
* @bug 6853328 7172701
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @run main/othervm OkAsDelegateXRealm false
* KDC no OK-AS-DELEGATE, fail
* @run main/othervm -Dtest.kdc.policy.ok-as-delegate OkAsDelegateXRealm true
--- a/jdk/test/sun/security/krb5/auto/OnlyDesLogin.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/OnlyDesLogin.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,13 @@
* @test
* @bug 8014310
* @summary JAAS/Krb5LoginModule using des encytypes failure with NPE after JDK-8012679
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @compile -XDignore.symbol.file OnlyDesLogin.java
* @run main/othervm OnlyDesLogin
*/
--- a/jdk/test/sun/security/krb5/auto/PrincipalNameEquals.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/PrincipalNameEquals.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,14 @@
* @test
* @bug 7061379
* @summary [Kerberos] Cross-realm authentication fails, due to nameType problem
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @compile -XDignore.symbol.file PrincipalNameEquals.java
* @run main/othervm PrincipalNameEquals
*/
--- a/jdk/test/sun/security/krb5/auto/RRC.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/RRC.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,14 @@
* @test
* @bug 7077640
* @summary gss wrap for cfx doesn't handle rrc != 0
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @compile -XDignore.symbol.file RRC.java
* @run main/othervm RRC
*/
--- a/jdk/test/sun/security/krb5/auto/Renewal.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/Renewal.java Thu May 28 10:54:48 2015 -0700
@@ -27,11 +27,17 @@
* @summary Add kinit options and krb5.conf flags that allow users to
* obtain renewable tickets and specify ticket lifetimes
* @library ../../../../java/security/testlibrary/
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @compile -XDignore.symbol.file Renewal.java
* @run main/othervm Renewal
*/
-import sun.security.jgss.GSSUtil;
import sun.security.krb5.Config;
import sun.security.krb5.internal.ccache.Credentials;
import sun.security.krb5.internal.ccache.FileCredentialsCache;
--- a/jdk/test/sun/security/krb5/auto/ReplayCacheExpunge.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/ReplayCacheExpunge.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,8 @@
/*
* @test
* @bug 8001326
+ * @modules java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.rcache
* @run main/othervm ReplayCacheExpunge 16
* @run main/othervm/fail ReplayCacheExpunge 15
* @summary when number of expired entries minus number of good entries
--- a/jdk/test/sun/security/krb5/auto/ReplayCachePrecise.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/ReplayCachePrecise.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,9 @@
/*
* @test
* @bug 8001326
+ * @modules java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.rcache
* @run main/othervm ReplayCachePrecise
* @summary when there are 2 two AuthTime with the same time but different hash,
* it's not a replay.
--- a/jdk/test/sun/security/krb5/auto/ReplayCacheTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/ReplayCacheTest.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,14 @@
/*
* @test
* @bug 7118809 8001326
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @run main/othervm ReplayCacheTest jvm
* @run main/othervm ReplayCacheTest dfl
* @summary rcache deadlock
--- a/jdk/test/sun/security/krb5/auto/ReplayCacheTestProc.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/ReplayCacheTestProc.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,16 @@
* @bug 7152176
* @summary More krb5 tests
* @library ../../../../java/security/testlibrary/
+ * @modules java.base/sun.misc
+ * java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
+ * java.security.jgss/sun.security.krb5.internal.rcache
* @compile -XDignore.symbol.file ReplayCacheTestProc.java
* @run main/othervm/timeout=100 ReplayCacheTestProc
*/
--- a/jdk/test/sun/security/krb5/auto/S4U2proxy.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/S4U2proxy.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,14 @@
* @test
* @bug 6355584 8044215
* @summary Introduce constrained Kerberos delegation
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @compile -XDignore.symbol.file S4U2proxy.java
* @run main/othervm S4U2proxy krb5
* @run main/othervm S4U2proxy spnego
--- a/jdk/test/sun/security/krb5/auto/S4U2proxyGSS.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/S4U2proxyGSS.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,14 @@
* @test
* @bug 6355584
* @summary Introduce constrained Kerberos delegation
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @compile -XDignore.symbol.file S4U2proxyGSS.java
* @run main/othervm -Djavax.security.auth.useSubjectCredsOnly=false S4U2proxyGSS krb5
* @run main/othervm -Djavax.security.auth.useSubjectCredsOnly=false S4U2proxyGSS spnego
--- a/jdk/test/sun/security/krb5/auto/S4U2self.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/S4U2self.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,14 @@
* @test
* @bug 6355584
* @summary Introduce constrained Kerberos delegation
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @compile -XDignore.symbol.file S4U2self.java
* @run main/othervm -Dsun.security.krb5.debug=false S4U2self krb5 0
* @run main/othervm/fail -Dsun.security.krb5.debug=false S4U2self krb5 1
--- a/jdk/test/sun/security/krb5/auto/S4U2selfAsServer.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/S4U2selfAsServer.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,14 @@
* @test
* @bug 6355584
* @summary Introduce constrained Kerberos delegation
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @compile -XDignore.symbol.file S4U2selfAsServer.java
* @run main/othervm S4U2selfAsServer krb5
* @run main/othervm S4U2selfAsServer spnego
--- a/jdk/test/sun/security/krb5/auto/S4U2selfAsServerGSS.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/S4U2selfAsServerGSS.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,14 @@
* @test
* @bug 6355584
* @summary Introduce constrained Kerberos delegation
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @compile -XDignore.symbol.file S4U2selfAsServerGSS.java
* @run main/othervm -Djavax.security.auth.useSubjectCredsOnly=false S4U2selfAsServerGSS krb5
* @run main/othervm -Djavax.security.auth.useSubjectCredsOnly=false S4U2selfAsServerGSS spnego
--- a/jdk/test/sun/security/krb5/auto/S4U2selfGSS.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/S4U2selfGSS.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,14 @@
* @test
* @bug 6355584
* @summary Introduce constrained Kerberos delegation
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @compile -XDignore.symbol.file S4U2selfGSS.java
* @run main/othervm -Dsun.security.krb5.debug=false S4U2selfGSS krb5
* @run main/othervm -Dsun.security.krb5.debug=false S4U2selfGSS spnego
--- a/jdk/test/sun/security/krb5/auto/SPNEGO.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/SPNEGO.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,14 @@
* @test
* @bug 7040151
* @summary SPNEGO GSS code does not parse tokens in accordance to RFC 2478
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @compile -XDignore.symbol.file SPNEGO.java
* @run main/othervm SPNEGO
*/
--- a/jdk/test/sun/security/krb5/auto/SSL.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/SSL.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,14 @@
* @bug 6894643 6913636 8005523 8025123
* @summary Test JSSE Kerberos ciphersuite
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @run main/othervm SSL TLS_KRB5_WITH_RC4_128_SHA
* @run main/othervm SSL TLS_KRB5_WITH_RC4_128_SHA unbound
* @run main/othervm SSL TLS_KRB5_WITH_RC4_128_SHA unbound sni
--- a/jdk/test/sun/security/krb5/auto/SaslBasic.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/SaslBasic.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,14 @@
* @test
* @bug 7110803
* @summary SASL service for multiple hostnames
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
+ * java.security.sasl
* @compile -XDignore.symbol.file SaslBasic.java
* @run main/othervm SaslBasic bound
* @run main/othervm SaslBasic unbound
--- a/jdk/test/sun/security/krb5/auto/SaslGSS.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/SaslGSS.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,15 @@
* @bug 8012082 8019267
* @summary SASL: auth-conf negotiated, but unencrypted data is accepted,
* reset to unencrypt
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
+ * java.security.sasl
* @compile -XDignore.symbol.file SaslGSS.java
* @run main/othervm SaslGSS
*/
--- a/jdk/test/sun/security/krb5/auto/SaslUnbound.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/SaslUnbound.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,14 @@
* @test
* @bug 8001104
* @summary Unbound SASL service: the GSSAPI/krb5 mech
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
+ * java.security.sasl
* @compile -XDignore.symbol.file SaslUnbound.java
* @run main/othervm SaslUnbound 0
* @run main/othervm/fail SaslUnbound 1
--- a/jdk/test/sun/security/krb5/auto/SpnegoLifeTime.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/SpnegoLifeTime.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,14 @@
* @test
* @bug 8000653
* @summary SPNEGO tests fail at context.getDelegCred().getRemainingInitLifetime(mechOid)
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @compile -XDignore.symbol.file SpnegoLifeTime.java
* @run main/othervm SpnegoLifeTime
*/
--- a/jdk/test/sun/security/krb5/auto/SpnegoReqFlags.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/SpnegoReqFlags.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,14 @@
/*
* @test
* @bug 6815182
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @run main/othervm SpnegoReqFlags
* @summary GSSAPI/SPNEGO does not work with server using MIT Kerberos library
*/
--- a/jdk/test/sun/security/krb5/auto/TcpTimeout.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/TcpTimeout.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,13 @@
/*
* @test
* @bug 6952519
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @compile -XDignore.symbol.file TcpTimeout.java
* @run main/othervm TcpTimeout
* @summary kdc_timeout is not being honoured when using TCP
--- a/jdk/test/sun/security/krb5/auto/Test5653.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/Test5653.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,14 @@
/*
* @test
* @bug 6895424
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @run main/othervm Test5653
* @summary RFC 5653
*/
--- a/jdk/test/sun/security/krb5/auto/TwoOrThree.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/TwoOrThree.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,14 @@
* @test
* @bug 8005447
* @summary default principal can act as anyone
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @compile -XDignore.symbol.file TwoOrThree.java
* @run main/othervm TwoOrThree first first
* @run main/othervm/fail TwoOrThree first second
--- a/jdk/test/sun/security/krb5/auto/TwoPrinces.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/TwoPrinces.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,14 @@
/*
* @test
* @bug 6894072
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @compile -XDignore.symbol.file TwoPrinces.java
* @run main/othervm TwoPrinces
* @summary always refresh keytab
--- a/jdk/test/sun/security/krb5/auto/TwoTab.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/TwoTab.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,14 @@
* @test
* @bug 7152176
* @summary More krb5 tests
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @compile -XDignore.symbol.file TwoTab.java
* @run main/othervm TwoTab
*/
--- a/jdk/test/sun/security/krb5/auto/UdpTcp.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/UdpTcp.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,13 @@
/*
* @test
* @bug 4966382 8039132
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @run main/othervm UdpTcp UDP
* @run main/othervm UdpTcp TCP
* @summary udp or tcp
--- a/jdk/test/sun/security/krb5/auto/UnboundService.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/UnboundService.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,14 @@
* @test
* @bug 8001104
* @summary Unbound SASL service: the GSSAPI/krb5 mech
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.jgss
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @compile -XDignore.symbol.file UnboundService.java
* @run main/othervm UnboundService null null
* @run main/othervm UnboundService server/host.rabbit.hole null
--- a/jdk/test/sun/security/krb5/auto/Unreachable.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/Unreachable.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 7162687
* @summary enhance KDC server availability detection
+ * @modules java.security.jgss/sun.security.krb5
* @compile -XDignore.symbol.file Unreachable.java
* @run main/othervm/timeout=10 Unreachable
*/
--- a/jdk/test/sun/security/krb5/auto/UseCacheAndStoreKey.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/UseCacheAndStoreKey.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,13 @@
* @bug 7201053
* @summary Krb5LoginModule shows NPE when both useTicketCache and storeKey
* are set to true
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @compile -XDignore.symbol.file UseCacheAndStoreKey.java
* @run main/othervm UseCacheAndStoreKey
*/
--- a/jdk/test/sun/security/krb5/auto/W83.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/auto/W83.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,13 @@
* @bug 6932525 6951366 6959292
* @summary kerberos login failure on win2008 with AD set to win2000 compat mode
* and cannot login if session key and preauth does not use the same etype
+ * @modules java.base/sun.net.spi.nameservice
+ * java.base/sun.security.util
+ * java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ccache
+ * java.security.jgss/sun.security.krb5.internal.crypto
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @run main/othervm -D6932525 W83
* @run main/othervm -D6959292 W83
*/
--- a/jdk/test/sun/security/krb5/canonicalize/Test.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/canonicalize/Test.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,8 @@
* @test
* @bug 6682516
* @summary SPNEGO_HTTP_AUTH/WWW_KRB and SPNEGO_HTTP_AUTH/WWW_SPNEGO failed on all non-windows platforms
+ * @modules java.base/sun.net.spi.nameservice
+ * java.security.jgss/sun.security.krb5
* @run main/othervm -Dsun.net.spi.nameservice.provider.1=ns,mock -Djava.security.krb5.conf=krb5.conf Test
*/
--- a/jdk/test/sun/security/krb5/ccache/CorruptedCC.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/ccache/CorruptedCC.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,8 @@
* @test
* @bug 8028780
* @summary JDK KRB5 module throws OutOfMemoryError when CCache is corrupt
+ * @modules java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal.ccache
* @run main/othervm -Xmx8m CorruptedCC
*/
import java.nio.file.Files;
--- a/jdk/test/sun/security/krb5/ccache/DefaultFile.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/ccache/DefaultFile.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 8054817
* @summary File ccache only recognizes Linux and Solaris defaults
+ * @modules java.security.jgss/sun.security.krb5.internal.ccache
*/
import sun.security.krb5.internal.ccache.FileCredentialsCache;
--- a/jdk/test/sun/security/krb5/ccache/EmptyCC.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/ccache/EmptyCC.java Thu May 28 10:54:48 2015 -0700
@@ -27,6 +27,8 @@
* @bug 8001208
* @summary NPE in sun.security.krb5.Credentials.acquireDefaultCreds()
* @library ../../../../java/security/testlibrary/
+ * @modules java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal.ccache
* @compile -XDignore.symbol.file EmptyCC.java
* @run main EmptyCC tmpcc
* @run main EmptyCC FILE:tmpcc
--- a/jdk/test/sun/security/krb5/ccache/EmptyRealmCC.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/ccache/EmptyRealmCC.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,8 @@
* @test
* @bug 8048073
* @summary Cannot read ccache entry with a realm-less service name
+ * @modules java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal.ccache
* @compile -XDignore.symbol.file EmptyRealmCC.java
* @run main EmptyRealmCC
*/
--- a/jdk/test/sun/security/krb5/ccache/TimeInCCache.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/ccache/TimeInCCache.java Thu May 28 10:54:48 2015 -0700
@@ -23,6 +23,8 @@
/*
* @test
* @bug 6590930
+ * @modules java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal.ccache
* @run main/othervm TimeInCCache
* @summary read/write does not match for ccache
*/
--- a/jdk/test/sun/security/krb5/config/ConfigWithQuotations.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/config/ConfigWithQuotations.java Thu May 28 10:54:48 2015 -0700
@@ -23,6 +23,7 @@
/*
* @test
* @bug 6714845
+ * @modules java.security.jgss/sun.security.krb5
* @run main/othervm ConfigWithQuotations
* @summary Quotes in Kerberos configuration file are included in the values
*/
--- a/jdk/test/sun/security/krb5/config/DefUdpLimit.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/config/DefUdpLimit.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 8009875
* @summary Provide a default udp_preference_limit for krb5.conf
+ * @modules java.security.jgss/sun.security.krb5
* @compile -XDignore.symbol.file DefUdpLimit.java
* @run main/othervm DefUdpLimit -1 1465
* @run main/othervm DefUdpLimit 0 0
--- a/jdk/test/sun/security/krb5/config/DnsFallback.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/config/DnsFallback.java Thu May 28 10:54:48 2015 -0700
@@ -23,6 +23,7 @@
/*
* @test
* @bug 6673164 6552334 8077102
+ * @modules java.security.jgss/sun.security.krb5
* @run main/othervm DnsFallback
* @summary fix dns_fallback parse error, and use dns by default
*/
--- a/jdk/test/sun/security/krb5/config/Duplicates.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/config/Duplicates.java Thu May 28 10:54:48 2015 -0700
@@ -23,6 +23,7 @@
/*
* @test
* @bug 7184246
+ * @modules java.security.jgss/sun.security.krb5
* @compile -XDignore.symbol.file Duplicates.java
* @run main/othervm Duplicates
* @summary Simplify Config.get() of krb5
--- a/jdk/test/sun/security/krb5/config/Duration.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/config/Duration.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,7 @@
* @bug 8044500
* @summary Add kinit options and krb5.conf flags that allow users to
* obtain renewable tickets and specify ticket lifetimes
+ * @modules java.security.jgss/sun.security.krb5
* @compile -XDignore.symbol.file Duration.java
* @run main Duration
*/
--- a/jdk/test/sun/security/krb5/config/ExtraLines.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/config/ExtraLines.java Thu May 28 10:54:48 2015 -0700
@@ -23,6 +23,7 @@
/*
* @test
* @bug 8036971
+ * @modules java.security.jgss/sun.security.krb5
* @compile -XDignore.symbol.file ExtraLines.java
* @run main/othervm ExtraLines
* @summary krb5.conf does not accept directive lines before the first section
--- a/jdk/test/sun/security/krb5/config/Include.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/config/Include.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 8029994
* @summary Support "include" and "includedir" in krb5.conf
+ * @modules java.security.jgss/sun.security.krb5
* @compile -XDignore.symbol.file Include.java
* @run main/othervm Include
*/
--- a/jdk/test/sun/security/krb5/config/KdcDefaultOptions.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/config/KdcDefaultOptions.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,8 @@
* @test
* @bug 7195426
* @summary kdc_default_options not supported correctly
+ * @modules java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
* @compile -XDignore.symbol.file KdcDefaultOptions.java
* @run main/othervm KdcDefaultOptions
*/
--- a/jdk/test/sun/security/krb5/config/ParseCAPaths.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/config/ParseCAPaths.java Thu May 28 10:54:48 2015 -0700
@@ -23,6 +23,7 @@
/*
* @test
* @bug 6789935 8012615
+ * @modules java.security.jgss/sun.security.krb5
* @run main/othervm ParseCAPaths
* @summary cross-realm capath search error
*/
--- a/jdk/test/sun/security/krb5/config/ParseConfig.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/config/ParseConfig.java Thu May 28 10:54:48 2015 -0700
@@ -23,6 +23,7 @@
/*
* @test
* @bug 6319046 8055045
+ * @modules java.security.jgss/sun.security.krb5
* @compile -XDignore.symbol.file ParseConfig.java
* @run main/othervm ParseConfig
* @summary Problem with parsing krb5.conf
--- a/jdk/test/sun/security/krb5/config/SCDynamicConfigTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/config/SCDynamicConfigTest.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 7184246
* @summary Simplify Config.get() of krb5
+ * @modules java.security.jgss/sun.security.krb5
*/
import java.lang.reflect.Field;
import java.lang.reflect.Method;
--- a/jdk/test/sun/security/krb5/config/YesNo.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/config/YesNo.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,8 @@
* @test
* @bug 8029995
* @summary accept yes/no for boolean krb5.conf settings
+ * @modules java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal.crypto
* @compile -XDignore.symbol.file YesNo.java
* @run main/othervm YesNo
*/
--- a/jdk/test/sun/security/krb5/etype/ETypeOrder.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/etype/ETypeOrder.java Thu May 28 10:54:48 2015 -0700
@@ -23,6 +23,7 @@
/*
* @test
* @bug 6844907
+ * @modules java.security.jgss/sun.security.krb5.internal.crypto
* @run main/othervm ETypeOrder
* @summary krb5 etype order should be from strong to weak
*/
--- a/jdk/test/sun/security/krb5/etype/WeakCrypto.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/etype/WeakCrypto.java Thu May 28 10:54:48 2015 -0700
@@ -23,6 +23,8 @@
/*
* @test
* @bug 6844909 8012679
+ * @modules java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal.crypto
* @run main/othervm WeakCrypto
* @run main/othervm WeakCrypto true
* @run main/othervm WeakCrypto false
--- a/jdk/test/sun/security/krb5/ktab/FileKeyTab.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/ktab/FileKeyTab.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,8 @@
* @test
* @bug 7144530
* @summary KeyTab.getInstance(String) no longer handles keyTabNames with "file:" prefix
+ * @modules java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal.ktab
*/
import java.io.File;
import sun.security.krb5.PrincipalName;
--- a/jdk/test/sun/security/krb5/ktab/HighestKvno.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/ktab/HighestKvno.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,8 @@
* @test
* @bug 6867665
* @bug 6875033
+ * @modules java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal.ktab
* @run main/othervm HighestKvno
* @summary Problem with keytabs with multiple kvno's (key versions)
*/
--- a/jdk/test/sun/security/krb5/ktab/KeyString.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/ktab/KeyString.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,9 @@
* @test
* @bug 6917791
* @summary KeyTabEntry, when the byte value smaller then 16, the string drop '0'
+ * @modules java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal
+ * java.security.jgss/sun.security.krb5.internal.ktab
*/
import sun.security.krb5.internal.ktab.KeyTabEntry;
--- a/jdk/test/sun/security/krb5/ktab/KeyTabIndex.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/ktab/KeyTabIndex.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,8 @@
* @test
* @bug 6919610
* @summary KeyTabInputStream uses static field for per-instance value
+ * @modules java.security.jgss/sun.security.krb5
+ * java.security.jgss/sun.security.krb5.internal.ktab
*/
import sun.security.krb5.PrincipalName;
import sun.security.krb5.internal.ktab.KeyTab;
--- a/jdk/test/sun/security/krb5/name/Constructors.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/name/Constructors.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
* @test
* @bug 6966259
* @summary Make PrincipalName and Realm immutable
+ * @modules java.security.jgss/sun.security.krb5
* @run main/othervm Constructors
*/
--- a/jdk/test/sun/security/krb5/name/Immutable.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/name/Immutable.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 8005460
* @summary [findbugs] Probably returned array should be cloned
+ * @modules java.security.jgss/sun.security.krb5
*/
import sun.security.krb5.PrincipalName;
--- a/jdk/test/sun/security/krb5/tools/KtabZero.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/krb5/tools/KtabZero.java Thu May 28 10:54:48 2015 -0700
@@ -33,6 +33,7 @@
* @test
* @bug 8014196
* @summary ktab creates a file with zero kt_vno
+ * @modules java.security.jgss/sun.security.krb5.internal.ktab
*/
public class KtabZero {
--- a/jdk/test/sun/security/pkcs/EncryptedPrivateKeyInfo/EncryptedPKInfoEqualsHashCode.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/pkcs/EncryptedPrivateKeyInfo/EncryptedPKInfoEqualsHashCode.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,8 @@
* @author Gary Ellison
* @bug 4170635
* @summary Verify equals()/hashCode() contract honored
+ * @modules java.base/sun.security.pkcs
+ * java.base/sun.security.x509
*/
import java.io.*;
--- a/jdk/test/sun/security/pkcs/pkcs9/UnknownAttribute.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/pkcs/pkcs9/UnknownAttribute.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,9 @@
* @test
* @bug 8011867
* @summary Accept unknown PKCS #9 attributes
+ * @modules java.base/sun.misc
+ * java.base/sun.security.pkcs
+ * java.base/sun.security.util
*/
import java.io.*;
--- a/jdk/test/sun/security/pkcs/pkcs9/UnstructuredName.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/pkcs/pkcs9/UnstructuredName.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 8016916
* @summary UnstructuredName should support DirectoryString
+ * @modules java.base/sun.security.pkcs10
*/
import java.util.Base64;
--- a/jdk/test/sun/security/pkcs11/KeyStore/Basic.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/pkcs11/KeyStore/Basic.java Thu May 28 10:54:48 2015 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2015, 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
@@ -23,7 +23,6 @@
import java.io.*;
import java.util.*;
-import java.lang.reflect.*;
import java.security.KeyStore;
import java.security.KeyStoreException;
--- a/jdk/test/sun/security/pkcs11/Provider/ConfigQuotedString.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/pkcs11/Provider/ConfigQuotedString.java Thu May 28 10:54:48 2015 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2004, 2015, 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
@@ -23,7 +23,6 @@
import java.io.*;
import java.util.*;
-import java.lang.reflect.*;
import java.security.*;
import javax.security.auth.callback.*;
--- a/jdk/test/sun/security/pkcs11/Provider/Login.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/pkcs11/Provider/Login.java Thu May 28 10:54:48 2015 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2015, 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
@@ -23,7 +23,6 @@
import java.io.*;
import java.util.*;
-import java.lang.reflect.*;
import java.security.*;
import javax.security.auth.callback.*;
--- a/jdk/test/sun/security/pkcs11/ec/TestCurves.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/pkcs11/ec/TestCurves.java Thu May 28 10:54:48 2015 -0700
@@ -27,6 +27,7 @@
* @summary Basic consistency test for all curves using ECDSA and ECDH
* @author Andreas Sterbenz
* @library ..
+ * @modules jdk.crypto.pkcs11/sun.security.pkcs11.wrapper
* @compile -XDignore.symbol.file TestCurves.java
* @run main TestCurves
* @key randomness
--- a/jdk/test/sun/security/pkcs11/ec/TestECDH2.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/pkcs11/ec/TestECDH2.java Thu May 28 10:54:48 2015 -0700
@@ -28,6 +28,7 @@
* example data in "Suite B Implementer's Guide to FIPS 186-3".
* @library ..
* @library ../../../../java/security/testlibrary
+ * @modules java.base/sun.security.util
* @compile -XDignore.symbol.file TestECDH2.java
* @run main TestECDH2
*/
--- a/jdk/test/sun/security/pkcs11/ec/TestECDSA2.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/pkcs11/ec/TestECDSA2.java Thu May 28 10:54:48 2015 -0700
@@ -28,6 +28,7 @@
* example data in "Suite B Implementer's Guide to FIPS 186-3".
* @library ..
* @library ../../../../java/security/testlibrary
+ * @modules java.base/sun.security.util
* @compile -XDignore.symbol.file TestECDSA2.java
* @run main TestECDSA2
*/
--- a/jdk/test/sun/security/pkcs11/fips/ClientJSSEServerJSSE.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/pkcs11/fips/ClientJSSEServerJSSE.java Thu May 28 10:54:48 2015 -0700
@@ -27,6 +27,7 @@
* @summary Verify that all ciphersuites work in FIPS mode
* @library ..
* @author Andreas Sterbenz
+ * @modules java.base/com.sun.net.ssl.internal.ssl
* @run main/manual ClientJSSEServerJSSE
*/
--- a/jdk/test/sun/security/pkcs11/fips/TrustManagerTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/pkcs11/fips/TrustManagerTest.java Thu May 28 10:54:48 2015 -0700
@@ -27,6 +27,7 @@
* @summary Verify that the SunJSSE trustmanager works correctly in FIPS mode
* @author Andreas Sterbenz
* @library ..
+ * @modules java.base/com.sun.net.ssl.internal.ssl
* @run main/othervm TrustManagerTest
*/
--- a/jdk/test/sun/security/pkcs11/tls/TestKeyMaterial.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/pkcs11/tls/TestKeyMaterial.java Thu May 28 10:54:48 2015 -0700
@@ -27,6 +27,7 @@
* @summary Known-answer-test for TlsKeyMaterial generator
* @author Andreas Sterbenz
* @library ..
+ * @modules java.base/sun.security.internal.spec
*/
import java.io.*;
--- a/jdk/test/sun/security/pkcs11/tls/TestMasterSecret.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/pkcs11/tls/TestMasterSecret.java Thu May 28 10:54:48 2015 -0700
@@ -27,6 +27,8 @@
* @summary Known-answer-test for TlsMasterSecret generator
* @author Andreas Sterbenz
* @library ..
+ * @modules java.base/sun.security.internal.interfaces
+ * java.base/sun.security.internal.spec
*/
import java.io.*;
--- a/jdk/test/sun/security/pkcs11/tls/TestPRF.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/pkcs11/tls/TestPRF.java Thu May 28 10:54:48 2015 -0700
@@ -27,6 +27,7 @@
* @summary Basic known-answer-test for TlsPrf
* @author Andreas Sterbenz
* @library ..
+ * @modules java.base/sun.security.internal.spec
*/
import java.io.*;
--- a/jdk/test/sun/security/pkcs11/tls/TestPremaster.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/pkcs11/tls/TestPremaster.java Thu May 28 10:54:48 2015 -0700
@@ -27,6 +27,7 @@
* @summary Basic tests for TlsRsaPremasterSecret generator
* @author Andreas Sterbenz
* @library ..
+ * @modules java.base/sun.security.internal.spec
*/
import java.security.Security;
--- a/jdk/test/sun/security/pkcs12/PKCS12SameKeyId.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/pkcs12/PKCS12SameKeyId.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,10 @@
* @test
* @bug 6958026
* @summary Problem with PKCS12 keystore
+ * @modules java.base/sun.security.pkcs
+ * java.base/sun.security.tools.keytool
+ * java.base/sun.security.util
+ * java.base/sun.security.x509
* @compile -XDignore.symbol.file PKCS12SameKeyId.java
* @run main PKCS12SameKeyId
*/
--- a/jdk/test/sun/security/provider/MessageDigest/DigestKAT.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/provider/MessageDigest/DigestKAT.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 4819771 4834179 5008306 4963723
* @summary Basic known-answer-test for all our MessageDigest algorithms
+ * @modules java.base/sun.security.provider
* @author Andreas Sterbenz
*/
--- a/jdk/test/sun/security/provider/PolicyFile/Comparator.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/provider/PolicyFile/Comparator.java Thu May 28 10:54:48 2015 -0700
@@ -24,8 +24,9 @@
/*
* @test
* @bug 5037004
+ * @summary Frivolous ClassCastExceptions thrown by SubjectCodeSource.implies
+ * @modules java.base/sun.security.provider
* @run main/othervm Comparator
- * @summary Frivolous ClassCastExceptions thrown by SubjectCodeSource.implies
*
* Note: if you want to see the java.security.debug output,
* you can not simply set the system property.
--- a/jdk/test/sun/security/provider/PolicyFile/TokenStore.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/provider/PolicyFile/TokenStore.java Thu May 28 10:54:48 2015 -0700
@@ -25,8 +25,7 @@
* @test
* @bug 4919147
* @summary Support for token-based KeyStores
- *
- * TokenStore.keystore password is "TokenStore"
+ * @modules java.base/sun.security.provider
*/
import java.io.*;
--- a/jdk/test/sun/security/provider/PolicyParser/BogusGrants.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/provider/PolicyParser/BogusGrants.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,7 @@
* @author Gary Ellison
* @bug 4233900
* @summary Catch anomalies in Policy parsing
+ * @modules java.base/sun.security.provider
* @run main BogusGrants p001.policy p002.policy p003.policy p004.policy
*/
--- a/jdk/test/sun/security/provider/PolicyParser/EncodeURL.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/provider/PolicyParser/EncodeURL.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/*
* @test
* @bug 4797850
+ * @modules java.base/sun.security.provider
* @summary Security policy file does not grok hash mark in pathnames
*/
--- a/jdk/test/sun/security/provider/PolicyParser/TokenStore.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/provider/PolicyParser/TokenStore.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 4919147
* @summary Support for token-based KeyStores
+ * @modules java.base/sun.security.provider
*/
import java.io.*;
--- a/jdk/test/sun/security/provider/X509Factory/BadPem.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/provider/X509Factory/BadPem.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 8074935
* @summary jdk8 keytool doesn't validate pem files for RFC 1421 correctness, as jdk7 did
+ * @modules java.base/sun.security.provider
*/
import java.io.ByteArrayOutputStream;
--- a/jdk/test/sun/security/provider/X509Factory/BigCRL.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/provider/X509Factory/BigCRL.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 7099399
* @summary cannot deal with CRL file larger than 16MB
+ * @modules java.base/sun.security.x509
* @run main/othervm -Xshare:off -Xmx1024m BigCRL
*/
--- a/jdk/test/sun/security/provider/certpath/CertId/CheckCertId.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/provider/certpath/CertId/CheckCertId.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,8 @@
* @test
* @bug 6355295
* @summary Certificate validation using OCSP fails for a particular class of certificates
+ * @modules java.base/sun.security.provider.certpath
+ * java.base/sun.security.x509
*/
import java.io.*;
--- a/jdk/test/sun/security/provider/certpath/DisabledAlgorithms/CPBuilder.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/provider/certpath/DisabledAlgorithms/CPBuilder.java Thu May 28 10:54:48 2015 -0700
@@ -53,7 +53,6 @@
import java.util.*;
import java.security.Security;
import java.security.cert.*;
-import sun.security.util.DerInputStream;
public class CPBuilder {
--- a/jdk/test/sun/security/provider/certpath/DisabledAlgorithms/CPBuilderWithMD5.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/provider/certpath/DisabledAlgorithms/CPBuilderWithMD5.java Thu May 28 10:54:48 2015 -0700
@@ -58,7 +58,6 @@
import java.util.*;
import java.security.Security;
import java.security.cert.*;
-import sun.security.util.DerInputStream;
public class CPBuilderWithMD5 {
--- a/jdk/test/sun/security/provider/certpath/OCSP/OCSPSingleExtensions.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/provider/certpath/OCSP/OCSPSingleExtensions.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 8074064
* @summary OCSPResponse.SingleResponse objects do not parse singleExtensions
+ * @modules java.base/sun.security.x509
* @run main/othervm sun.security.provider.certpath.OCSPSingleExtensions
*/
--- a/jdk/test/sun/security/provider/certpath/SunCertPathBuilderExceptionTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/provider/certpath/SunCertPathBuilderExceptionTest.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,7 @@
* @bug 5032952
* @summary non-transient non-serializable instance field in
serializable class
+ * @modules java.base/sun.security.provider.certpath
*/
import sun.security.provider.certpath.SunCertPathBuilderException;
--- a/jdk/test/sun/security/provider/certpath/X509CertPath/IllegalCertiticates.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/provider/certpath/X509CertPath/IllegalCertiticates.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 6492692
* @summary Some JCK test failed because of the compiler warnings changes
+ * @modules java.base/sun.security.provider.certpath
*/
import java.security.cert.CertificateException;
--- a/jdk/test/sun/security/ssl/ClientHandshaker/LengthCheckTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/ssl/ClientHandshaker/LengthCheckTest.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,7 @@
* @bug 8044860
* @summary Vectors and fixed length fields should be verified
* for allowed sizes.
+ * @modules java.base/sun.security.ssl
* @run main/othervm LengthCheckTest
* @key randomness
*/
--- a/jdk/test/sun/security/ssl/InputRecord/ClientHelloRead.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/ssl/InputRecord/ClientHelloRead.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 4432868
* @summary A client-hello message may not always be read correctly
+ * @modules java.base/sun.net.www
* @run main/othervm ClientHelloRead
*
* SunJSSE does not support dynamic system properties, no way to re-use
--- a/jdk/test/sun/security/ssl/ServerHandshaker/GetPeerHostClient.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/ssl/ServerHandshaker/GetPeerHostClient.java Thu May 28 10:54:48 2015 -0700
@@ -31,7 +31,6 @@
import java.net.*;
import java.io.*;
import javax.net.ssl.*;
-import com.sun.net.ssl.*;
class GetPeerHostClient extends Thread
{
--- a/jdk/test/sun/security/ssl/X509TrustManagerImpl/CheckNullEntity.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/ssl/X509TrustManagerImpl/CheckNullEntity.java Thu May 28 10:54:48 2015 -0700
@@ -27,6 +27,7 @@
* @summary unspecified exceptions in X509TrustManager.checkClient[Server]Truste
d
* @author Xuelei Fan
+ * @modules java.base/com.sun.net.ssl.internal.ssl
*/
import java.io.*;
--- a/jdk/test/sun/security/ssl/X509TrustManagerImpl/ClientServer.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/ssl/X509TrustManagerImpl/ClientServer.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,7 @@
* @bug 4717766
* @author Brad Wetmore
* @summary 1.0.3 JsseX509TrustManager erroneously calls isClientTrusted()
+ * @modules java.base/com.sun.net.ssl
* @run main/manual ClientServer
*/
--- a/jdk/test/sun/security/tools/jarsigner/CertChainUnclosed.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/tools/jarsigner/CertChainUnclosed.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,8 @@
* @test
* @bug 8027991
* @summary InputStream should be closed in sun.security.tools.jarsigner.Main
+ * @modules java.base/sun.security.tools.keytool
+ * jdk.jartool/sun.security.tools.jarsigner
* @run main/othervm CertChainUnclosed
*/
--- a/jdk/test/sun/security/tools/jarsigner/DefaultSigalg.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/tools/jarsigner/DefaultSigalg.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,12 @@
* @test
* @bug 8057810
* @summary New defaults for DSA keys in jarsigner and keytool
+ * @modules java.base/sun.security.pkcs
+ * java.base/sun.security.tools.keytool
+ * java.base/sun.security.util
+ * java.base/sun.security.x509
+ * jdk.jartool/sun.security.tools.jarsigner
+ * jdk.jartool/sun.tools.jar
*/
import sun.security.pkcs.PKCS7;
--- a/jdk/test/sun/security/tools/jarsigner/EntriesOrder.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/tools/jarsigner/EntriesOrder.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,9 @@
* @bug 8031572
* @summary jarsigner -verify exits with 0 when a jar file is not properly signed
* @library /lib/testlibrary
+ * @modules java.base/sun.security.tools.keytool
+ * jdk.jartool/sun.security.tools.jarsigner
+ * jdk.jartool/sun.tools.jar
* @build jdk.testlibrary.IOUtils
* @run main EntriesOrder
*/
--- a/jdk/test/sun/security/tools/jarsigner/JarSigningNonAscii.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/tools/jarsigner/JarSigningNonAscii.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 4924188
* @summary sign a JAR file that has entry names with non-ASCII characters.
+ * @modules jdk.jartool/sun.security.tools.jarsigner
*/
import sun.security.tools.*;
--- a/jdk/test/sun/security/tools/jarsigner/LargeJarEntry.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/tools/jarsigner/LargeJarEntry.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,7 @@
* @bug 6405538 6474350
* @summary Make sure jar files with large entries (more than max heap size)
* can be signed
+ * @modules jdk.jartool/sun.security.tools.jarsigner
* @run main/othervm -Xmx8M LargeJarEntry
* @author Sean Mullan
*/
--- a/jdk/test/sun/security/tools/jarsigner/TsacertOptionTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/tools/jarsigner/TsacertOptionTest.java Thu May 28 10:54:48 2015 -0700
@@ -30,6 +30,12 @@
* @bug 8024302 8026037
* @summary The test signs and verifies a jar file with -tsacert option
* @library /lib/testlibrary
+ * @modules java.base/sun.misc
+ * java.base/sun.security.pkcs
+ * java.base/sun.security.timestamp
+ * java.base/sun.security.util
+ * java.base/sun.security.x509
+ * java.management
* @run main TsacertOptionTest
*/
public class TsacertOptionTest {
--- a/jdk/test/sun/security/tools/keytool/CloseFile.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/tools/keytool/CloseFile.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,7 @@
* @bug 6489721
* @summary keytool has not closed several file streams
* @author weijun.wang
+ * @modules java.base/sun.security.tools.keytool
* @compile -XDignore.symbol.file CloseFile.java
* @run main CloseFile
*
--- a/jdk/test/sun/security/tools/keytool/NewSize7.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/tools/keytool/NewSize7.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 6561126
* @summary keytool should use larger default keysize for keypairs
+ * @modules java.base/sun.security.tools.keytool
* @compile -XDignore.symbol.file NewSize7.java
* @run main NewSize7
*/
--- a/jdk/test/sun/security/tools/keytool/StartDateTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/tools/keytool/StartDateTest.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 6468285
* @summary keytool ability to backdate self-signed certificates to compensate for clock skew
+ * @modules java.base/sun.security.tools.keytool
* @compile -XDignore.symbol.file StartDateTest.java
* @run main StartDateTest
*/
--- a/jdk/test/sun/security/tools/keytool/UnknownAndUnparseable.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/tools/keytool/UnknownAndUnparseable.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,9 @@
* @test
* @bug 7192202
* @summary Make sure keytool prints both unknown and unparseable extensions
+ * @modules java.base/sun.security.tools.keytool
+ * java.base/sun.security.util
+ * java.base/sun.security.x509
* @compile -XDignore.symbol.file UnknownAndUnparseable.java
* @run main UnknownAndUnparseable
*/
--- a/jdk/test/sun/security/util/BitArray/NamedBitList.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/util/BitArray/NamedBitList.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,8 @@
* @author Weijun Wang
* @bug 4654195
* @summary BIT STRING types with named bits must remove trailing 0 bits
+ * @modules java.base/sun.security.util
+ * java.base/sun.security.x509
*/
import sun.security.util.BitArray;
--- a/jdk/test/sun/security/util/Debug/MultiOptions.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/util/Debug/MultiOptions.java Thu May 28 10:54:48 2015 -0700
@@ -27,6 +27,7 @@
* @bug 6466247
* @summary java.security.debug permission=<classname> and codebase=<URL>
* options do not work
+ * @modules java.base/sun.security.util
* @run main/othervm -Djava.security.debug="stacknothing--=-30logincontextacCess:stack-domain,combiner;access:fAilure-jarpermission=sun.dummy.DummyPermission;peRmiSsion=sun.Dummy.DummyPermission2=permission=sun.dummy.DummyPermission3:codEbAse=/dir1/DIR2/Dir3/File.java,codebase=http://www.sun.com/search?q=SunMicro,codEbAse=/dir1/DIR2/Dir3/File.java;coDebase=www.sun.com;codebase=file:///C:/temp/foo%20more/a.txt" MultiOptions
*/
import sun.security.util.Debug;
--- a/jdk/test/sun/security/util/DerInputBuffer/BigInteger0.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/util/DerInputBuffer/BigInteger0.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 4492053
* @summary Verify invalid zero length Integer value is rejected
+ * @modules java.base/sun.security.util
*/
import java.io.*;
--- a/jdk/test/sun/security/util/DerInputBuffer/DerInputBufferEqualsHashCode.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/util/DerInputBuffer/DerInputBufferEqualsHashCode.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,8 @@
* @author Gary Ellison
* @bug 4170635
* @summary Verify equals()/hashCode() contract honored
+ * @modules java.base/sun.security.util
+ * java.base/sun.security.x509
* @run main/othervm/policy=Allow.policy DerInputBufferEqualsHashCode
*/
--- a/jdk/test/sun/security/util/DerInputBuffer/PaddedBitString.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/util/DerInputBuffer/PaddedBitString.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 4511556
* @summary Verify BitString value containing padding bits is accepted.
+ * @modules java.base/sun.security.util
*/
import java.io.*;
--- a/jdk/test/sun/security/util/DerInputBuffer/TimeParsing.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/util/DerInputBuffer/TimeParsing.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 4558835 4915146
* @summary Verify timezone offset and fractional seconds are correctly parsed
+ * @modules java.base/sun.security.util
*/
import java.io.*;
--- a/jdk/test/sun/security/util/DerOutputStream/LocaleInTime.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/util/DerOutputStream/LocaleInTime.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 6670889
* @summary Keystore created under Hindi Locale causing ArrayIndexOutOfBoundsException
+ * @modules java.base/sun.security.util
* @run main/othervm -Duser.language=hi -Duser.region=IN LocaleInTime
*/
--- a/jdk/test/sun/security/util/DerValue/BadValue.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/util/DerValue/BadValue.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,8 @@
* @test
* @bug 6864911
* @summary ASN.1/DER input stream parser needs more work
+ * @modules java.base/sun.misc
+ * java.base/sun.security.util
*/
import java.io.*;
--- a/jdk/test/sun/security/util/DerValue/DerValueEqualsHashCode.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/util/DerValue/DerValueEqualsHashCode.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,8 @@
* @author Gary Ellison
* @bug 4170635
* @summary Verify equals()/hashCode() contract honored
+ * @modules java.base/sun.security.util
+ * java.base/sun.security.x509
*/
import java.io.*;
--- a/jdk/test/sun/security/util/DerValue/EmptyValue.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/util/DerValue/EmptyValue.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 6804045
* @summary DerValue does not accept empty OCTET STRING
+ * @modules java.base/sun.security.util
*/
import sun.security.util.DerValue;
--- a/jdk/test/sun/security/util/DerValue/Indefinite.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/util/DerValue/Indefinite.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 6731685
* @summary CertificateFactory.generateCertificates throws IOException on PKCS7 cert chain
+ * @modules java.base/sun.security.util
*/
import java.io.*;
--- a/jdk/test/sun/security/util/DerValue/NegInt.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/util/DerValue/NegInt.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 6855671
* @summary DerOutputStream encodes negative integer incorrectly
+ * @modules java.base/sun.security.util
*/
import sun.security.util.DerOutputStream;
--- a/jdk/test/sun/security/util/HostnameMatcher/TestHostnameChecker.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/util/HostnameMatcher/TestHostnameChecker.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 4514108
* @summary Verify host name matching behaves as defined in RFC2818.
+ * @modules java.base/sun.security.util
*/
import java.io.*;
--- a/jdk/test/sun/security/util/Oid/OidFormat.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/util/Oid/OidFormat.java Thu May 28 10:54:48 2015 -0700
@@ -28,6 +28,8 @@
* @bug 6418425
* @bug 6418433
* @summary ObjectIdentifier should reject 1.2.3.-4 and throw IOException on all format errors
+ * @modules java.base/sun.security.util
+ * java.security.jgss
*/
import java.io.IOException;
--- a/jdk/test/sun/security/util/Oid/S11N.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/util/Oid/S11N.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,8 @@
/*
* @test
* @bug 4811968 6908628 8006564
+ * @modules java.base/sun.misc
+ * java.base/sun.security.util
* @run main S11N check
* @summary Serialization compatibility with old versions (and fixes)
*/
--- a/jdk/test/sun/security/util/PropertyExpander/ExpandAndEncode.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/util/PropertyExpander/ExpandAndEncode.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,7 @@
* @author Valerie Peng
* @bug 4716213
* @bug 4797850
+ * @modules java.base/sun.security.util
* @summary Verify that expand(String, boolean) does not encode if
* the value is a valid URI with a scheme (it is already encoded),
* i.e. avoid double encoding.
--- a/jdk/test/sun/security/util/Resources/NewNamesFormat.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/util/Resources/NewNamesFormat.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,10 @@
/*
* @test
* @bug 6987827
+ * @modules java.base/sun.security.util
+ * java.base/sun.security.tools.keytool
+ * jdk.jartool/sun.security.tools.jarsigner
+ * jdk.policytool/sun.security.tools.policytool
* @summary security/util/Resources.java needs improvement
*/
--- a/jdk/test/sun/security/util/asn1StringTypes/StringTypes.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/util/asn1StringTypes/StringTypes.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,7 @@
* @bug 4178326
* @summary Make sure reading/writing of different DER encoded string
* types works correctly.
+ * @modules java.base/sun.security.util
*/
import java.io.*;
--- a/jdk/test/sun/security/validator/ConstructorTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/validator/ConstructorTest.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 6996377
* @summary shrink duplicate code in the constructor of PKIXValidator
+ * @modules java.base/sun.security.validator
*/
import java.io.ByteArrayInputStream;
--- a/jdk/test/sun/security/validator/EndEntityExtensionCheck.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/validator/EndEntityExtensionCheck.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,7 @@
* @bug 8076117
* @summary EndEntityChecker should not process custom extensions
* after PKIX validation
+ * @modules java.base/sun.security.validator
*/
import java.io.ByteArrayInputStream;
--- a/jdk/test/sun/security/x509/AVA/AVAEqualsHashCode.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/x509/AVA/AVAEqualsHashCode.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,8 @@
* @author Gary Ellison
* @bug 4170635
* @summary Verify equals()/hashCode() contract honored
+ * @modules java.base/sun.security.util
+ * java.base/sun.security.x509
* @run main/othervm/policy=Allow.policy AVAEqualsHashCode
*/
--- a/jdk/test/sun/security/x509/AVA/BadName.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/x509/AVA/BadName.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,7 @@
* @bug 4184274
* @summary Make sure bad distinguished names (without keywords) don't
* cause out-of-memory condition
+ * @modules java.base/sun.security.x509
*/
import java.io.IOException;
import sun.security.x509.X500Name;
--- a/jdk/test/sun/security/x509/AVA/DomainComponentEncoding.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/x509/AVA/DomainComponentEncoding.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,8 @@
* @test
* @bug 6391482
* @summary incorrect ASN1 DER encoding of DomainComponent AttributeValue
+ * @modules java.base/sun.security.util
+ * java.base/sun.security.x509
*/
import javax.security.auth.x500.X500Principal;
--- a/jdk/test/sun/security/x509/AVA/EmailAddressEncoding.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/x509/AVA/EmailAddressEncoding.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,8 @@
* @test
* @bug 4702543
* @summary incorrect ASN1 DER encoding of EmailAddress Attribute
+ * @modules java.base/sun.security.pkcs
+ * java.base/sun.security.util
*/
import java.io.*;
--- a/jdk/test/sun/security/x509/AlgorithmId/AlgorithmIdEqualsHashCode.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/x509/AlgorithmId/AlgorithmIdEqualsHashCode.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,7 @@
* @author Gary Ellison
* @bug 4170635
* @summary Verify equals()/hashCode() contract honored
+ * @modules java.base/sun.security.x509
*/
import java.io.*;
--- a/jdk/test/sun/security/x509/AlgorithmId/ExtensibleAlgorithmId.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/x509/AlgorithmId/ExtensibleAlgorithmId.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/*
* @test
* @bug 4162868
+ * @modules java.base/sun.security.x509
* @run main/othervm ExtensibleAlgorithmId
* @summary Algorithm Name-to-OID mapping needs to be made extensible.
*/
--- a/jdk/test/sun/security/x509/AlgorithmId/NonStandardNames.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/x509/AlgorithmId/NonStandardNames.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,10 @@
* @test
* @bug 7180907
* @summary Jarsigner -verify fails if rsa file used sha-256 with authenticated attributes
+ * @modules java.base/sun.security.pkcs
+ * java.base/sun.security.tools.keytool
+ * java.base/sun.security.util
+ * java.base/sun.security.x509
* @compile -XDignore.symbol.file NonStandardNames.java
* @run main NonStandardNames
*/
--- a/jdk/test/sun/security/x509/AlgorithmId/SHA256withECDSA.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/x509/AlgorithmId/SHA256withECDSA.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @bug 6871847
* @summary AlgorithmId.get("SHA256withECDSA") not available
+ * @modules java.base/sun.security.x509
*/
import sun.security.x509.*;
--- a/jdk/test/sun/security/x509/AlgorithmId/TurkishRegion.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/x509/AlgorithmId/TurkishRegion.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,7 @@
* @bug 6867345
* @summary Turkish regional options cause NPE in
* sun.security.x509.AlgorithmId.algOID
+ * @modules java.base/sun.security.x509
* @run main/othervm -Duser.language=tr -Duser.region=TR TurkishRegion
* @author Xuelei Fan
*/
--- a/jdk/test/sun/security/x509/Extensions/BCNull.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/x509/Extensions/BCNull.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @test
* @summary BasicConstraintsExtension does not encode when (ca==false && pathLen<0)
* @bug 6803376
+ * @modules java.base/sun.security.x509
*/
import sun.security.x509.BasicConstraintsExtension;
--- a/jdk/test/sun/security/x509/Extensions/DefaultCriticality.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/x509/Extensions/DefaultCriticality.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,7 @@
* @summary Change default criticality of policy mappings and policy constraints
certificate extensions
* @bug 8059916
+ * @modules java.base/sun.security.x509
*/
import sun.security.x509.PolicyConstraintsExtension;
--- a/jdk/test/sun/security/x509/GeneralName/Encode.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/x509/GeneralName/Encode.java Thu May 28 10:54:48 2015 -0700
@@ -30,6 +30,8 @@
* @bug 4716972
* @summary Check that GeneralName.encode() encodes an X500Name with
* an explicit tag
+ * @modules java.base/sun.security.util
+ * java.base/sun.security.x509
*/
public class Encode {
--- a/jdk/test/sun/security/x509/URIName/Parse.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/x509/URIName/Parse.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,8 @@
* @bug 8005389
* @summary CRL Distribution Point URIs with spaces or backslashes should
* not be parseable
+ * @modules java.base/sun.security.util
+ * java.base/sun.security.x509
*/
import java.io.ByteArrayInputStream;
import java.io.IOException;
--- a/jdk/test/sun/security/x509/X500Name/AllAttribs.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/x509/X500Name/AllAttribs.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/* @test
* @bug 4244051
* @summary Make sure all PKIX-required X.520 name attribs are supported
+ * @modules java.base/sun.security.x509
*/
import sun.security.x509.*;
--- a/jdk/test/sun/security/x509/X500Name/DerValueConstructor.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/x509/X500Name/DerValueConstructor.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,8 @@
/* @test
* @bug 4228833
* @summary Make sure constructor that takes DerValue argument works
+ * @modules java.base/sun.security.util
+ * java.base/sun.security.x509
*/
import sun.security.util.*;
--- a/jdk/test/sun/security/x509/X500Name/EmailKeyword.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/x509/X500Name/EmailKeyword.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,7 @@
* @bug 4531319
* @summary Make sure AVA with EMAIL or EMAILADDRESS keyword is recognized
* in DEFAULT format
+ * @modules java.base/sun.security.x509
*/
import sun.security.x509.X500Name;
--- a/jdk/test/sun/security/x509/X500Name/NullX500Name.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/x509/X500Name/NullX500Name.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,9 @@
/* @test
* @bug 4118818
* @summary allow null X.500 Names
+ * @modules java.base/sun.misc
+ * java.base/sun.security.util
+ * java.base/sun.security.x509
*/
import java.util.Arrays;
--- a/jdk/test/sun/security/x509/X500Name/RDNwithMultipleAVAs.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/x509/X500Name/RDNwithMultipleAVAs.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/* @test
* @bug 4197911
* @summary Make sure RDN with multiple AVAs can be parsed.
+ * @modules java.base/sun.security.x509
*/
import java.io.*;
--- a/jdk/test/sun/security/x509/X509CRLImpl/OrderAndDup.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/x509/X509CRLImpl/OrderAndDup.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,8 @@
* @test
* @bug 7143872
* @summary Improve certificate extension processing
+ * @modules java.base/sun.security.util
+ * java.base/sun.security.x509
*/
import java.io.ByteArrayInputStream;
import java.math.BigInteger;
--- a/jdk/test/sun/security/x509/equalNames/AltNamesEqualsTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/security/x509/equalNames/AltNamesEqualsTest.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,8 @@
* @summary Make sure names that are equal are treated as such.
* @bug 4273559
* @author Yassir Elley
+ * @modules java.base/sun.security.util
+ * java.base/sun.security.x509
*/
import sun.security.x509.*;
--- a/jdk/test/sun/tools/java/CFCTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/tools/java/CFCTest.java Thu May 28 10:54:48 2015 -0700
@@ -24,7 +24,9 @@
/*
* @test
* @bug 8011805
- * @summary Update sun.tools.java class file reading/writing support to include the new constant pool entries (including invokedynamic)
+ * @modules jdk.rmic/sun.tools.java jdk.rmic/sun.rmi.rmic
+ * @summary Update sun.tools.java class file reading/writing support to include
+ * the new constant pool entries (including invokedynamic)
*/
import java.io.DataInputStream;
--- a/jdk/test/sun/util/calendar/zi/TestZoneInfo310.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/util/calendar/zi/TestZoneInfo310.java Thu May 28 10:54:48 2015 -0700
@@ -26,6 +26,7 @@
*@bug 8007572 8008161
*@summary Test whether the TimeZone generated from JSR310 tzdb is the same
*as the one from the tz data from javazic
+ * @modules java.base/sun.util.calendar
*/
import java.io.File;
--- a/jdk/test/sun/util/locale/provider/Bug8038436.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/util/locale/provider/Bug8038436.java Thu May 28 10:54:48 2015 -0700
@@ -25,6 +25,8 @@
* @test
* @bug 8038436
* @summary Test for changes in 8038436
+ * @modules java.base/sun.util.locale.provider
+ * java.base/sun.util.spi
* @compile -XDignore.symbol.file Bug8038436.java
* @run main/othervm Bug8038436 -Djava.ext.dirs=foo security
* @run main/othervm Bug8038436 -Djava.locale.providers=JRE availlocs
--- a/jdk/test/sun/util/logging/PlatformLoggerTest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/util/logging/PlatformLoggerTest.java Thu May 28 10:54:48 2015 -0700
@@ -29,6 +29,7 @@
* operations. othervm mode to make sure java.util.logging
* is not initialized.
*
+ * @modules java.base/sun.util.logging
* @compile -XDignore.symbol.file PlatformLoggerTest.java
* @run main/othervm PlatformLoggerTest
*/
--- a/jdk/test/sun/util/logging/SourceClassName.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/sun/util/logging/SourceClassName.java Thu May 28 10:54:48 2015 -0700
@@ -27,6 +27,7 @@
* @summary Test the source class name and method output by the platform
* logger.
*
+ * @modules java.base/sun.util.logging
* @compile -XDignore.symbol.file SourceClassName.java
* @run main/othervm SourceClassName
*/
--- a/jdk/test/tools/jar/ChangeDir.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/tools/jar/ChangeDir.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/**
* @test
* @bug 4806786 8023113
+ * @modules jdk.jartool/sun.tools.jar
* @summary jar -C doesn't ignore multiple // in path
*/
--- a/jdk/test/tools/jar/JarBackSlash.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/tools/jar/JarBackSlash.java Thu May 28 10:54:48 2015 -0700
@@ -28,6 +28,7 @@
/*
* @test
* @bug 7201156
+ * @modules jdk.jartool/sun.tools.jar
* @summary jar tool fails to convert file separation characters for list and extract
* @author Sean Chou
*/
--- a/jdk/test/tools/jar/JarEntryTime.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/tools/jar/JarEntryTime.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/**
* @test
* @bug 4225317 6969651
+ * @modules jdk.jartool/sun.tools.jar
* @summary Check extracted files have date as per those in the .jar file
*/
--- a/jdk/test/tools/jar/UpdateJar.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/tools/jar/UpdateJar.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/**
* @test
* @bug 7175845
+ * @modules jdk.jartool/sun.tools.jar
* @summary jar -uf should not change file permission
*/
--- a/jdk/test/tools/jar/UpdateManifest.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/tools/jar/UpdateManifest.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/**
* @test
* @bug 6434207 6442687 6984046
+ * @modules jdk.jartool/sun.tools.jar
* @summary Ensure that jar ufm actually updates the
* existing jar file's manifest with contents of the
* manifest file.
--- a/jdk/test/tools/jar/index/MetaInf.java Thu May 28 11:31:40 2015 -0700
+++ b/jdk/test/tools/jar/index/MetaInf.java Thu May 28 10:54:48 2015 -0700
@@ -24,6 +24,7 @@
/*
* @test
* @bug 4408526 6854795
+ * @modules jdk.jartool/sun.tools.jar
* @summary Index the non-meta files in META-INF, such as META-INF/services.
*/