8148147: Sync up @modules from jigsaw/jake
authoralanb
Mon, 25 Jan 2016 19:01:19 +0000
changeset 35315 67dcc46f8241
parent 35314 a7e13065a7a0
child 35316 eb1841063675
8148147: Sync up @modules from jigsaw/jake Reviewed-by: chegar, mchung
jdk/test/com/oracle/security/ucrypto/TestCICOWithGCM.java
jdk/test/com/oracle/security/ucrypto/TestGCMKeyAndIvCheck.java
jdk/test/com/oracle/security/ucrypto/TestGCMWithSBE.java
jdk/test/com/sun/crypto/provider/Cipher/AES/Test4513830.java
jdk/test/com/sun/crypto/provider/Cipher/AES/TestCICOWithGCM.java
jdk/test/com/sun/crypto/provider/Cipher/AES/TestGCMKeyAndIvCheck.java
jdk/test/com/sun/crypto/provider/Cipher/AES/TestGHASH.java
jdk/test/com/sun/crypto/provider/Cipher/AES/TestISO10126Padding.java
jdk/test/com/sun/crypto/provider/Cipher/AES/TestKATForECB_IV.java
jdk/test/com/sun/crypto/provider/Cipher/AES/TestKATForGCM.java
jdk/test/com/sun/crypto/provider/Cipher/AES/TestShortBuffer.java
jdk/test/com/sun/jmx/mbeanserver/introspector/SimpleIntrospectorTest.java
jdk/test/com/sun/management/GarbageCollectorMXBean/GarbageCollectionNotificationContentTest.java
jdk/test/com/sun/management/GarbageCollectorMXBean/GarbageCollectionNotificationTest.java
jdk/test/java/lang/System/LoggerFinder/internal/BootstrapLogger/BootstrapLoggerAPIsTest.java
jdk/test/java/lang/invoke/AccessControlTest.java
jdk/test/java/lang/invoke/ExplicitCastArgumentsTest.java
jdk/test/java/lang/invoke/lambda/LambdaAsm.java
jdk/test/java/nio/channels/SocketChannel/VectorIO.java
jdk/test/java/nio/channels/SocketChannel/Write.java
jdk/test/java/nio/channels/spi/SelectorProvider/inheritedChannel/Util.java
jdk/test/java/security/KeyStore/EntryMethods.java
jdk/test/java/util/Locale/Bug8008577.java
jdk/test/java/util/PluggableLocale/BreakIteratorProviderTest.java
jdk/test/javax/net/ssl/DTLS/CipherSuite.java
jdk/test/javax/net/ssl/DTLS/ClientAuth.java
jdk/test/javax/net/ssl/DTLS/InvalidCookie.java
jdk/test/javax/net/ssl/DTLS/InvalidRecords.java
jdk/test/javax/net/ssl/DTLS/NoMacInitialClientHello.java
jdk/test/javax/net/ssl/DTLS/Reordered.java
jdk/test/javax/net/ssl/DTLS/Retransmission.java
jdk/test/javax/net/ssl/DTLS/WeakCipherSuite.java
jdk/test/javax/xml/jaxp/PrecisionDecimalDV/XPrecisionDecimalToString.java
jdk/test/jdk/internal/jline/KeyConversionTest.java
jdk/test/jdk/internal/jline/console/StripAnsiTest.java
jdk/test/sun/awt/shell/ShellFolderMemoryLeak.java
jdk/test/sun/net/www/http/HttpURLConnection/NTLMAuthWithSM.java
jdk/test/sun/reflect/CallerSensitive/CallerSensitiveFinder.java
jdk/test/sun/reflect/CallerSensitive/MissingCallerSensitive.java
jdk/test/sun/security/provider/FileInputStreamPool/FileInputStreamPoolTest.java
jdk/test/sun/security/provider/certpath/Extensions/OCSPNonceExtensionTests.java
jdk/test/sun/security/provider/certpath/ResponderId/ResponderIdTests.java
jdk/test/sun/security/ssl/ExtensionType/OptimalListSize.java
jdk/test/sun/security/ssl/SSLSocketImpl/CheckMethods.java
jdk/test/sun/security/x509/AVA/EmailAddressEncoding.java
jdk/test/sun/text/resources/LocaleDataTest.java
jdk/test/sun/util/logging/PlatformLoggerTest.java
--- a/jdk/test/com/oracle/security/ucrypto/TestCICOWithGCM.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/com/oracle/security/ucrypto/TestGCMKeyAndIvCheck.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/com/oracle/security/ucrypto/TestGCMWithSBE.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/com/sun/crypto/provider/Cipher/AES/Test4513830.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/com/sun/crypto/provider/Cipher/AES/TestCICOWithGCM.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/com/sun/crypto/provider/Cipher/AES/TestGCMKeyAndIvCheck.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/com/sun/crypto/provider/Cipher/AES/TestGHASH.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/com/sun/crypto/provider/Cipher/AES/TestISO10126Padding.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/com/sun/crypto/provider/Cipher/AES/TestKATForECB_IV.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/com/sun/crypto/provider/Cipher/AES/TestKATForGCM.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/com/sun/crypto/provider/Cipher/AES/TestShortBuffer.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/com/sun/jmx/mbeanserver/introspector/SimpleIntrospectorTest.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/com/sun/management/GarbageCollectorMXBean/GarbageCollectionNotificationContentTest.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/com/sun/management/GarbageCollectorMXBean/GarbageCollectionNotificationTest.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/java/lang/System/LoggerFinder/internal/BootstrapLogger/BootstrapLoggerAPIsTest.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/java/lang/invoke/AccessControlTest.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/java/lang/invoke/ExplicitCastArgumentsTest.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/java/lang/invoke/lambda/LambdaAsm.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/java/nio/channels/SocketChannel/VectorIO.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/java/nio/channels/SocketChannel/Write.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/java/nio/channels/spi/SelectorProvider/inheritedChannel/Util.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/java/security/KeyStore/EntryMethods.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/java/util/Locale/Bug8008577.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/java/util/PluggableLocale/BreakIteratorProviderTest.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/javax/net/ssl/DTLS/CipherSuite.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/javax/net/ssl/DTLS/ClientAuth.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/javax/net/ssl/DTLS/InvalidCookie.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/javax/net/ssl/DTLS/InvalidRecords.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/javax/net/ssl/DTLS/NoMacInitialClientHello.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/javax/net/ssl/DTLS/Reordered.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/javax/net/ssl/DTLS/Retransmission.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/javax/net/ssl/DTLS/WeakCipherSuite.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/javax/xml/jaxp/PrecisionDecimalDV/XPrecisionDecimalToString.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/jdk/internal/jline/KeyConversionTest.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/jdk/internal/jline/console/StripAnsiTest.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/sun/awt/shell/ShellFolderMemoryLeak.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/sun/net/www/http/HttpURLConnection/NTLMAuthWithSM.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/sun/reflect/CallerSensitive/CallerSensitiveFinder.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/sun/reflect/CallerSensitive/MissingCallerSensitive.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/sun/security/provider/FileInputStreamPool/FileInputStreamPoolTest.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/sun/security/provider/certpath/Extensions/OCSPNonceExtensionTests.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/sun/security/provider/certpath/ResponderId/ResponderIdTests.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/sun/security/ssl/ExtensionType/OptimalListSize.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/sun/security/ssl/SSLSocketImpl/CheckMethods.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/sun/security/x509/AVA/EmailAddressEncoding.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/sun/text/resources/LocaleDataTest.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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/jdk/test/sun/util/logging/PlatformLoggerTest.java	Mon Jan 25 12:23:55 2016 +0100
+++ b/jdk/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
  */