changeset 13545:eee1ced1d8e7 jdk-9+103

8148147: Sync up @modules from jigsaw/jake Reviewed-by: chegar, mchung
author alanb
date Mon, 25 Jan 2016 19:01:19 +0000
parents f5178601929b
children 38cd01bdfd45 2d461cd667ba eb0613b3a872 15c5cbd29440
files test/com/oracle/security/ucrypto/TestCICOWithGCM.java test/com/oracle/security/ucrypto/TestGCMKeyAndIvCheck.java test/com/oracle/security/ucrypto/TestGCMWithSBE.java test/com/sun/crypto/provider/Cipher/AES/Test4513830.java test/com/sun/crypto/provider/Cipher/AES/TestCICOWithGCM.java test/com/sun/crypto/provider/Cipher/AES/TestGCMKeyAndIvCheck.java test/com/sun/crypto/provider/Cipher/AES/TestGHASH.java test/com/sun/crypto/provider/Cipher/AES/TestISO10126Padding.java test/com/sun/crypto/provider/Cipher/AES/TestKATForECB_IV.java test/com/sun/crypto/provider/Cipher/AES/TestKATForGCM.java test/com/sun/crypto/provider/Cipher/AES/TestShortBuffer.java test/com/sun/jmx/mbeanserver/introspector/SimpleIntrospectorTest.java test/com/sun/management/GarbageCollectorMXBean/GarbageCollectionNotificationContentTest.java test/com/sun/management/GarbageCollectorMXBean/GarbageCollectionNotificationTest.java test/java/lang/System/LoggerFinder/internal/BootstrapLogger/BootstrapLoggerAPIsTest.java test/java/lang/invoke/AccessControlTest.java test/java/lang/invoke/ExplicitCastArgumentsTest.java test/java/lang/invoke/lambda/LambdaAsm.java test/java/nio/channels/SocketChannel/VectorIO.java test/java/nio/channels/SocketChannel/Write.java test/java/nio/channels/spi/SelectorProvider/inheritedChannel/Util.java test/java/security/KeyStore/EntryMethods.java test/java/util/Locale/Bug8008577.java test/java/util/PluggableLocale/BreakIteratorProviderTest.java test/javax/net/ssl/DTLS/CipherSuite.java test/javax/net/ssl/DTLS/ClientAuth.java test/javax/net/ssl/DTLS/InvalidCookie.java test/javax/net/ssl/DTLS/InvalidRecords.java test/javax/net/ssl/DTLS/NoMacInitialClientHello.java test/javax/net/ssl/DTLS/Reordered.java test/javax/net/ssl/DTLS/Retransmission.java test/javax/net/ssl/DTLS/WeakCipherSuite.java test/javax/xml/jaxp/PrecisionDecimalDV/XPrecisionDecimalToString.java test/jdk/internal/jline/KeyConversionTest.java test/jdk/internal/jline/console/StripAnsiTest.java test/sun/awt/shell/ShellFolderMemoryLeak.java test/sun/net/www/http/HttpURLConnection/NTLMAuthWithSM.java test/sun/reflect/CallerSensitive/CallerSensitiveFinder.java test/sun/reflect/CallerSensitive/MissingCallerSensitive.java test/sun/security/provider/FileInputStreamPool/FileInputStreamPoolTest.java test/sun/security/provider/certpath/Extensions/OCSPNonceExtensionTests.java test/sun/security/provider/certpath/ResponderId/ResponderIdTests.java test/sun/security/ssl/ExtensionType/OptimalListSize.java test/sun/security/ssl/SSLSocketImpl/CheckMethods.java test/sun/security/x509/AVA/EmailAddressEncoding.java test/sun/text/resources/LocaleDataTest.java test/sun/util/logging/PlatformLoggerTest.java
diffstat 47 files changed, 43 insertions(+), 40 deletions(-) [+]
line wrap: on
line diff
--- a/test/com/oracle/security/ucrypto/TestCICOWithGCM.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/com/oracle/security/ucrypto/TestCICOWithGCM.java	Mon Jan 25 19:01:19 2016 +0000
@@ -34,7 +34,6 @@
 import javax.crypto.spec.*;
 import java.math.*;
 import java.io.*;
-import com.sun.crypto.provider.*;
 
 import java.util.*;
 
--- a/test/com/oracle/security/ucrypto/TestGCMKeyAndIvCheck.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/com/oracle/security/ucrypto/TestGCMKeyAndIvCheck.java	Mon Jan 25 19:01:19 2016 +0000
@@ -32,7 +32,6 @@
 import javax.crypto.*;
 import javax.crypto.spec.*;
 import java.math.*;
-import com.sun.crypto.provider.*;
 
 import java.util.*;
 
--- a/test/com/oracle/security/ucrypto/TestGCMWithSBE.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/com/oracle/security/ucrypto/TestGCMWithSBE.java	Mon Jan 25 19:01:19 2016 +0000
@@ -32,7 +32,6 @@
 import javax.crypto.*;
 import javax.crypto.spec.*;
 import java.math.*;
-import com.sun.crypto.provider.*;
 
 import java.util.*;
 
--- a/test/com/sun/crypto/provider/Cipher/AES/Test4513830.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/com/sun/crypto/provider/Cipher/AES/Test4513830.java	Mon Jan 25 19:01:19 2016 +0000
@@ -37,7 +37,6 @@
 import javax.crypto.*;
 import javax.crypto.spec.*;
 import java.security.Provider;
-import com.sun.crypto.provider.*;
 
 public class Test4513830 {
 
--- a/test/com/sun/crypto/provider/Cipher/AES/TestCICOWithGCM.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/com/sun/crypto/provider/Cipher/AES/TestCICOWithGCM.java	Mon Jan 25 19:01:19 2016 +0000
@@ -37,7 +37,6 @@
 import javax.crypto.spec.*;
 import java.math.*;
 import java.io.*;
-import com.sun.crypto.provider.*;
 
 import java.util.*;
 
--- a/test/com/sun/crypto/provider/Cipher/AES/TestGCMKeyAndIvCheck.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/com/sun/crypto/provider/Cipher/AES/TestGCMKeyAndIvCheck.java	Mon Jan 25 19:01:19 2016 +0000
@@ -36,7 +36,6 @@
 import javax.crypto.*;
 import javax.crypto.spec.*;
 import java.math.*;
-import com.sun.crypto.provider.*;
 
 import java.util.*;
 
--- a/test/com/sun/crypto/provider/Cipher/AES/TestGHASH.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/com/sun/crypto/provider/Cipher/AES/TestGHASH.java	Mon Jan 25 19:01:19 2016 +0000
@@ -25,6 +25,7 @@
 /*
  * @test
  * @bug 8069072
+ * @modules java.base/com.sun.crypto.provider
  * @summary Test vectors for com.sun.crypto.provider.GHASH.
  *
  * Single iteration to verify software-only GHASH algorithm.
--- a/test/com/sun/crypto/provider/Cipher/AES/TestISO10126Padding.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/com/sun/crypto/provider/Cipher/AES/TestISO10126Padding.java	Mon Jan 25 19:01:19 2016 +0000
@@ -35,7 +35,6 @@
 import javax.crypto.*;
 import javax.crypto.spec.*;
 import java.security.Provider;
-import com.sun.crypto.provider.*;
 
 public class TestISO10126Padding {
     private static final String ALGO = "AES";
--- a/test/com/sun/crypto/provider/Cipher/AES/TestKATForECB_IV.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/com/sun/crypto/provider/Cipher/AES/TestKATForECB_IV.java	Mon Jan 25 19:01:19 2016 +0000
@@ -34,7 +34,6 @@
 import javax.crypto.*;
 import javax.crypto.spec.*;
 import java.math.*;
-import com.sun.crypto.provider.*;
 
 import java.util.*;
 
--- a/test/com/sun/crypto/provider/Cipher/AES/TestKATForGCM.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/com/sun/crypto/provider/Cipher/AES/TestKATForGCM.java	Mon Jan 25 19:01:19 2016 +0000
@@ -37,7 +37,6 @@
 import javax.crypto.*;
 import javax.crypto.spec.*;
 import java.math.*;
-import com.sun.crypto.provider.*;
 
 import java.util.*;
 
--- a/test/com/sun/crypto/provider/Cipher/AES/TestShortBuffer.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/com/sun/crypto/provider/Cipher/AES/TestShortBuffer.java	Mon Jan 25 19:01:19 2016 +0000
@@ -35,7 +35,6 @@
 import javax.crypto.*;
 import javax.crypto.spec.*;
 import java.security.Provider;
-import com.sun.crypto.provider.*;
 
 public class TestShortBuffer {
     private static final String ALGO = "AES";
--- a/test/com/sun/jmx/mbeanserver/introspector/SimpleIntrospectorTest.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/com/sun/jmx/mbeanserver/introspector/SimpleIntrospectorTest.java	Mon Jan 25 19:01:19 2016 +0000
@@ -33,7 +33,7 @@
  *          with a lower-case letter
  *
  * @author Jaroslav Bachorik
- * @modules java.management
+ * @modules java.management/com.sun.jmx.mbeanserver
  * @run clean SimpleIntrospectorTest
  * @run build SimpleIntrospectorTest BeanClass
  * @run main SimpleIntrospectorTest
--- a/test/com/sun/management/GarbageCollectorMXBean/GarbageCollectionNotificationContentTest.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/com/sun/management/GarbageCollectorMXBean/GarbageCollectionNotificationContentTest.java	Mon Jan 25 19:01:19 2016 +0000
@@ -27,7 +27,8 @@
  * @summary Check that GarbageCollectionNotification contents are reasonable
  * @author  Frederic Parain
  * @requires vm.opt.ExplicitGCInvokesConcurrent == null | vm.opt.ExplicitGCInvokesConcurrent == false
- * @modules jdk.management
+ * @modules java.management/sun.management
+ *          jdk.management
  * @run     main/othervm GarbageCollectionNotificationContentTest
  */
 
--- a/test/com/sun/management/GarbageCollectorMXBean/GarbageCollectionNotificationTest.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/com/sun/management/GarbageCollectorMXBean/GarbageCollectionNotificationTest.java	Mon Jan 25 19:01:19 2016 +0000
@@ -27,7 +27,8 @@
  * @summary Check that GarbageCollection notification are thrown by every GarbageCollectorMXBean
  * @author  Frederic Parain
  * @requires vm.opt.ExplicitGCInvokesConcurrent == null | vm.opt.ExplicitGCInvokesConcurrent == false
- * @modules jdk.management
+ * @modules java.management/sun.management
+ *          jdk.management
  * @run     main/othervm GarbageCollectionNotificationTest
  */
 
--- a/test/java/lang/System/LoggerFinder/internal/BootstrapLogger/BootstrapLoggerAPIsTest.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/java/lang/System/LoggerFinder/internal/BootstrapLogger/BootstrapLoggerAPIsTest.java	Mon Jan 25 19:01:19 2016 +0000
@@ -40,6 +40,7 @@
  * @summary Cover the logXX and LogEvent.valueOf APIs of BootstrapLogger
  *          and logXX APIs of SimpleConsoleLogger.
  * @modules java.base/jdk.internal.logger
+ *          java.base/sun.util.logging
  * @build BootstrapLoggerUtils LogStream
  * @run main/othervm BootstrapLoggerAPIsTest
  */
--- a/test/java/lang/invoke/AccessControlTest.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/java/lang/invoke/AccessControlTest.java	Mon Jan 25 19:01:19 2016 +0000
@@ -23,9 +23,7 @@
 
 /* @test
  * @summary test access checking by java.lang.invoke.MethodHandles.Lookup
- * @library ../../../..
- * @build test.java.lang.invoke.AccessControlTest
- * @build test.java.lang.invoke.AccessControlTest_subpkg.Acquaintance_remote
+ * @compile AccessControlTest.java AccessControlTest_subpkg/Acquaintance_remote.java
  * @run testng/othervm test.java.lang.invoke.AccessControlTest
  */
 
--- a/test/java/lang/invoke/ExplicitCastArgumentsTest.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/java/lang/invoke/ExplicitCastArgumentsTest.java	Mon Jan 25 19:01:19 2016 +0000
@@ -38,6 +38,7 @@
  * @bug 8060483 8066746
  * @key randomness
  * @library /lib/testlibrary /lib/testlibrary/jsr292
+ * @modules java.base/sun.invoke.util
  * @summary unit tests for MethodHandles.explicitCastArguments()
  * @run main ExplicitCastArgumentsTest
  */
--- a/test/java/lang/invoke/lambda/LambdaAsm.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/java/lang/invoke/lambda/LambdaAsm.java	Mon Jan 25 19:01:19 2016 +0000
@@ -27,7 +27,7 @@
  * @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
+ *          jdk.jdeps/com.sun.tools.classfile
  * @compile -XDignore.symbol.file LambdaAsm.java LUtils.java
  * @run main/othervm LambdaAsm
  */
--- a/test/java/nio/channels/SocketChannel/VectorIO.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/java/nio/channels/SocketChannel/VectorIO.java	Mon Jan 25 19:01:19 2016 +0000
@@ -32,7 +32,6 @@
 import java.nio.*;
 import java.nio.channels.*;
 import java.util.*;
-import sun.misc.*;
 
 
 public class VectorIO {
--- a/test/java/nio/channels/SocketChannel/Write.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/java/nio/channels/SocketChannel/Write.java	Mon Jan 25 19:01:19 2016 +0000
@@ -32,7 +32,6 @@
 import java.nio.*;
 import java.nio.channels.*;
 import java.util.*;
-import sun.misc.*;
 
 
 public class Write {
--- a/test/java/nio/channels/spi/SelectorProvider/inheritedChannel/Util.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/java/nio/channels/spi/SelectorProvider/inheritedChannel/Util.java	Mon Jan 25 19:01:19 2016 +0000
@@ -30,9 +30,6 @@
 import java.nio.channels.*;
 import java.lang.reflect.*;
 
-// dependency on Sun implementation
-import sun.nio.ch.*;
-
 public class Util {
 
     private static Object get(String className, String fieldName, Object o) throws Exception {
--- a/test/java/security/KeyStore/EntryMethods.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/java/security/KeyStore/EntryMethods.java	Mon Jan 25 19:01:19 2016 +0000
@@ -32,8 +32,6 @@
 import java.util.*;
 import java.io.*;
 
-import sun.security.provider.*;
-
 public class EntryMethods
     extends Provider
     implements KeyStore.Entry
--- a/test/java/util/Locale/Bug8008577.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/java/util/Locale/Bug8008577.java	Mon Jan 25 19:01:19 2016 +0000
@@ -26,6 +26,7 @@
  * @bug 8008577 8138613
  * @summary Check whether CLDR locale provider adapter is enabled by default
  * @compile -XDignore.symbol.file Bug8008577.java
+ * @modules java.base/sun.util.locale.provider
  * @run main Bug8008577
  */
 
--- a/test/java/util/PluggableLocale/BreakIteratorProviderTest.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/java/util/PluggableLocale/BreakIteratorProviderTest.java	Mon Jan 25 19:01:19 2016 +0000
@@ -26,9 +26,7 @@
 
 import java.text.*;
 import java.util.*;
-import sun.text.resources.*;
 import sun.util.locale.provider.*;
-import sun.util.resources.*;
 
 public class BreakIteratorProviderTest extends ProviderTest {
 
--- a/test/javax/net/ssl/DTLS/CipherSuite.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/javax/net/ssl/DTLS/CipherSuite.java	Mon Jan 25 19:01:19 2016 +0000
@@ -28,7 +28,8 @@
  * @test
  * @bug 8043758
  * @summary Datagram Transport Layer Security (DTLS)
- * @compile DTLSOverDatagram.java
+ * @modules java.base/sun.security.util
+ * @build DTLSOverDatagram
  * @run main/othervm CipherSuite TLS_RSA_WITH_AES_128_CBC_SHA
  * @run main/othervm CipherSuite TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
  * @run main/othervm CipherSuite TLS_RSA_WITH_AES_128_CBC_SHA256
--- a/test/javax/net/ssl/DTLS/ClientAuth.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/javax/net/ssl/DTLS/ClientAuth.java	Mon Jan 25 19:01:19 2016 +0000
@@ -28,7 +28,8 @@
  * @test
  * @bug 8043758
  * @summary Datagram Transport Layer Security (DTLS)
- * @compile DTLSOverDatagram.java
+ * @modules java.base/sun.security.util
+ * @build DTLSOverDatagram
  * @run main/othervm ClientAuth
  */
 
--- a/test/javax/net/ssl/DTLS/InvalidCookie.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/javax/net/ssl/DTLS/InvalidCookie.java	Mon Jan 25 19:01:19 2016 +0000
@@ -28,7 +28,8 @@
  * @test
  * @bug 8043758
  * @summary Datagram Transport Layer Security (DTLS)
- * @compile DTLSOverDatagram.java
+ * @modules java.base/sun.security.util
+ * @build DTLSOverDatagram
  * @run main/othervm InvalidCookie
  */
 
--- a/test/javax/net/ssl/DTLS/InvalidRecords.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/javax/net/ssl/DTLS/InvalidRecords.java	Mon Jan 25 19:01:19 2016 +0000
@@ -28,7 +28,8 @@
  * @test
  * @bug 8043758
  * @summary Datagram Transport Layer Security (DTLS)
- * @compile DTLSOverDatagram.java
+ * @modules java.base/sun.security.util
+ * @build DTLSOverDatagram
  * @run main/othervm InvalidRecords
  */
 
--- a/test/javax/net/ssl/DTLS/NoMacInitialClientHello.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/javax/net/ssl/DTLS/NoMacInitialClientHello.java	Mon Jan 25 19:01:19 2016 +0000
@@ -28,7 +28,8 @@
  * @test
  * @bug 8043758
  * @summary Datagram Transport Layer Security (DTLS)
- * @compile DTLSOverDatagram.java
+ * @modules java.base/sun.security.util
+ * @build DTLSOverDatagram
  * @run main/othervm -Djdk.tls.client.enableStatusRequestExtension=false
  *      NoMacInitialClientHello
  */
--- a/test/javax/net/ssl/DTLS/Reordered.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/javax/net/ssl/DTLS/Reordered.java	Mon Jan 25 19:01:19 2016 +0000
@@ -28,7 +28,8 @@
  * @test
  * @bug 8043758
  * @summary Datagram Transport Layer Security (DTLS)
- * @compile DTLSOverDatagram.java
+ * @modules java.base/sun.security.util
+ * @build DTLSOverDatagram
  * @run main/othervm Reordered
  */
 
--- a/test/javax/net/ssl/DTLS/Retransmission.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/javax/net/ssl/DTLS/Retransmission.java	Mon Jan 25 19:01:19 2016 +0000
@@ -28,7 +28,8 @@
  * @test
  * @bug 8043758
  * @summary Datagram Transport Layer Security (DTLS)
- * @compile DTLSOverDatagram.java
+ * @modules java.base/sun.security.util
+ * @build DTLSOverDatagram
  * @run main/othervm Retransmission
  */
 
--- a/test/javax/net/ssl/DTLS/WeakCipherSuite.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/javax/net/ssl/DTLS/WeakCipherSuite.java	Mon Jan 25 19:01:19 2016 +0000
@@ -28,7 +28,8 @@
  * @test
  * @bug 8043758
  * @summary Datagram Transport Layer Security (DTLS)
- * @compile DTLSOverDatagram.java
+ * @modules java.base/sun.security.util
+ * @build DTLSOverDatagram
  * @run main/othervm WeakCipherSuite TLS_DH_anon_WITH_AES_128_GCM_SHA256
  * @run main/othervm WeakCipherSuite SSL_DH_anon_WITH_DES_CBC_SHA
  * @run main/othervm WeakCipherSuite SSL_RSA_WITH_DES_CBC_SHA
--- a/test/javax/xml/jaxp/PrecisionDecimalDV/XPrecisionDecimalToString.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/javax/xml/jaxp/PrecisionDecimalDV/XPrecisionDecimalToString.java	Mon Jan 25 19:01:19 2016 +0000
@@ -31,6 +31,7 @@
  *   in com.sun.org.apache.xerces.internal.impl.dv.xs.PrecisionDecimalDV$XPrecisionDecimal.
  *   Since that method is private the test unfortunately needs to use reflection
  *   to invoke the method.
+ * @modules java.xml/com.sun.org.apache.xerces.internal.impl.dv.xs
  * @run main XPrecisionDecimalToString
  * @author Daniel Fuchs
  */
--- a/test/jdk/internal/jline/KeyConversionTest.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/jdk/internal/jline/KeyConversionTest.java	Mon Jan 25 19:01:19 2016 +0000
@@ -25,6 +25,7 @@
  * @test
  * @bug 8080679
  * @summary Verify the conversion from key events to escape sequences works properly.
+ * @modules jdk.internal.le/jdk.internal.jline
  * @requires os.family == "windows"
  */
 
--- a/test/jdk/internal/jline/console/StripAnsiTest.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/jdk/internal/jline/console/StripAnsiTest.java	Mon Jan 25 19:01:19 2016 +0000
@@ -24,6 +24,7 @@
 /**
  * @test
  * @bug 8080679
+ * @modules jdk.internal.le/jdk.internal.jline.console
  * @summary Verify ConsoleReader.stripAnsi strips escape sequences from its input correctly.
  */
 
--- a/test/sun/awt/shell/ShellFolderMemoryLeak.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/sun/awt/shell/ShellFolderMemoryLeak.java	Mon Jan 25 19:01:19 2016 +0000
@@ -28,7 +28,7 @@
             after calling Win32ShellFolder:listFiles
             multiple times on some directory with
             large number of files/folders
- * @modules java.desktop/sun.awt
+ * @modules java.desktop/sun.awt.shell
  * @requires (os.family == "windows")
  * @run main/timeout=1000 ShellFolderMemoryLeak
  */
@@ -223,4 +223,4 @@
                     .log(Level.SEVERE, "Unable to delete files", ex);
         }
     }
-}
\ No newline at end of file
+}
--- a/test/sun/net/www/http/HttpURLConnection/NTLMAuthWithSM.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/sun/net/www/http/HttpURLConnection/NTLMAuthWithSM.java	Mon Jan 25 19:01:19 2016 +0000
@@ -39,6 +39,7 @@
 /*
  * @test
  * @bug 8137174
+ * @modules java.base/sun.net.www.protocol.http.ntlm
  * @summary Checks if NTLM auth works fine if security manager set
  * @run main/othervm/java.security.policy=NTLMAuthWithSM.policy NTLMAuthWithSM
  */
--- a/test/sun/reflect/CallerSensitive/CallerSensitiveFinder.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/sun/reflect/CallerSensitive/CallerSensitiveFinder.java	Mon Jan 25 19:01:19 2016 +0000
@@ -48,7 +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
+ * @modules jdk.jdeps/com.sun.tools.classfile jdk.jdeps/com.sun.tools.jdeps
  * @build CallerSensitiveFinder
  * @run main/othervm/timeout=900 CallerSensitiveFinder
  */
--- a/test/sun/reflect/CallerSensitive/MissingCallerSensitive.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/sun/reflect/CallerSensitive/MissingCallerSensitive.java	Mon Jan 25 19:01:19 2016 +0000
@@ -29,7 +29,6 @@
  * @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/test/sun/security/provider/FileInputStreamPool/FileInputStreamPoolTest.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/sun/security/provider/FileInputStreamPool/FileInputStreamPoolTest.java	Mon Jan 25 19:01:19 2016 +0000
@@ -24,6 +24,7 @@
 /**
  * @test
  * @bug 8047769
+ * @modules java.base/sun.security.provider
  * @summary SecureRandom should be more frugal with file descriptors
  */
 
--- a/test/sun/security/provider/certpath/Extensions/OCSPNonceExtensionTests.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/sun/security/provider/certpath/Extensions/OCSPNonceExtensionTests.java	Mon Jan 25 19:01:19 2016 +0000
@@ -25,6 +25,9 @@
  * @test
  * @bug 8046321
  * @summary Unit tests for OCSPNonceExtension objects
+ * @modules java.base/sun.security.provider.certpath
+ *          java.base/sun.security.util
+ *          java.base/sun.security.x509
  */
 
 import java.security.cert.Extension;
--- a/test/sun/security/provider/certpath/ResponderId/ResponderIdTests.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/sun/security/provider/certpath/ResponderId/ResponderIdTests.java	Mon Jan 25 19:01:19 2016 +0000
@@ -25,6 +25,8 @@
  * @test
  * @bug 8046321
  * @summary OCSP Stapling for TLS (ResponderId tests)
+ * @modules java.base/sun.security.provider.certpath
+ *          java.base/sun.security.x509
  */
 
 import java.io.*;
--- a/test/sun/security/ssl/ExtensionType/OptimalListSize.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/sun/security/ssl/ExtensionType/OptimalListSize.java	Mon Jan 25 19:01:19 2016 +0000
@@ -26,6 +26,7 @@
  * @bug 8080535
  * @summary Expected size of Character.UnicodeBlock.map is not optimal
  * @library /lib/testlibrary
+ * @modules java.base/sun.security.ssl
  * @build jdk.testlibrary.OptimalCapacity
  * @run main OptimalListSize
  */
--- a/test/sun/security/ssl/SSLSocketImpl/CheckMethods.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/sun/security/ssl/SSLSocketImpl/CheckMethods.java	Mon Jan 25 19:01:19 2016 +0000
@@ -29,7 +29,6 @@
 import java.net.*;
 import java.util.*;
 import java.lang.reflect.*;
-import com.sun.net.ssl.internal.ssl.*;
 
 public class CheckMethods {
     static boolean debug = false;
--- a/test/sun/security/x509/AVA/EmailAddressEncoding.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/sun/security/x509/AVA/EmailAddressEncoding.java	Mon Jan 25 19:01:19 2016 +0000
@@ -33,7 +33,6 @@
 import javax.security.auth.x500.*;
 import sun.security.util.*;
 import sun.security.pkcs.*;
-import sun.security.x509.*;
 
 public class EmailAddressEncoding {
 
--- a/test/sun/text/resources/LocaleDataTest.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/sun/text/resources/LocaleDataTest.java	Mon Jan 25 19:01:19 2016 +0000
@@ -38,6 +38,7 @@
  *      7114053 7074882 7040556 8008577 8013836 8021121 6192407 6931564 8027695
  *      8017142 8037343 8055222 8042126 8074791 8075173 8080774 8129361 8134916
  * @summary Verify locale data
+ * @modules java.base/sun.util.resources
  * @run main LocaleDataTest
  * @run main LocaleDataTest -cldr
  *
--- a/test/sun/util/logging/PlatformLoggerTest.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/test/sun/util/logging/PlatformLoggerTest.java	Mon Jan 25 19:01:19 2016 +0000
@@ -30,6 +30,7 @@
  *          is not initialized.
  *
  * @modules java.base/sun.util.logging
+ *          java.logging/sun.util.logging.internal
  * @compile -XDignore.symbol.file PlatformLoggerTest.java
  * @run main/othervm PlatformLoggerTest
  */