changeset 17692:7ca32e1dafc8

Merge
author mchung
date Thu, 08 Sep 2016 19:16:01 -0700
parents 6d6b2eb8cfa9 f7acfdffe16f
children 6b35dbe9ae9a
files test/java/awt/Window/OwnedWindowsLeak/OwnedWindowsLeak.java
diffstat 36 files changed, 48 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/awt/EventDispatchThread/EDTShutdownTest/EDTShutdownTest.java	Thu Sep 08 18:25:10 2016 -0700
+++ b/test/java/awt/EventDispatchThread/EDTShutdownTest/EDTShutdownTest.java	Thu Sep 08 19:16:01 2016 -0700
@@ -27,6 +27,7 @@
   @summary [macosx] TwentyThousandTest test intermittently hangs
   @author Oleg Pekhovskiy
   @modules java.desktop/sun.awt
+  @modules java.desktop/java.awt:private
   @run main EDTShutdownTest
  */
 
--- a/test/java/awt/Focus/RequestOnCompWithNullParent/RequestOnCompWithNullParent1.java	Thu Sep 08 18:25:10 2016 -0700
+++ b/test/java/awt/Focus/RequestOnCompWithNullParent/RequestOnCompWithNullParent1.java	Thu Sep 08 19:16:01 2016 -0700
@@ -29,6 +29,7 @@
   @library ../../regtesthelpers
   @modules java.desktop/java.awt.peer
            java.desktop/sun.awt
+           java.desktop/java.awt:private
   @build Util
   @run main RequestOnCompWithNullParent1
 */
--- a/test/java/awt/List/FocusEmptyListTest/FocusEmptyListTest.html	Thu Sep 08 18:25:10 2016 -0700
+++ b/test/java/awt/List/FocusEmptyListTest/FocusEmptyListTest.html	Thu Sep 08 19:16:01 2016 -0700
@@ -30,7 +30,7 @@
   @requires (os.family == "linux" | os.family == "solaris")
   @modules java.desktop/sun.awt
            java.desktop/java.awt.peer
-           java.desktop/sun.awt.X11
+           java.desktop/sun.awt.X11:private
   @run applet FocusEmptyListTest.html
   -->
 <head>
--- a/test/java/awt/Modal/LWModalTest/LWModalTest.java	Thu Sep 08 18:25:10 2016 -0700
+++ b/test/java/awt/Modal/LWModalTest/LWModalTest.java	Thu Sep 08 19:16:01 2016 -0700
@@ -28,6 +28,7 @@
   @summary The test checks that Container's method startLWModal
 and stopLWModal work correctly. The test scenario is very close
 to JOptionPane.showInternal*Dialog methods
+  @modules java.desktop/java.awt:private
   @author artem.ananiev@...: area=awt.modal
   @library ../../regtesthelpers
   @build Util
--- a/test/java/awt/Toolkit/Headless/WrappedToolkitTest/WrappedToolkitTest.sh	Thu Sep 08 18:25:10 2016 -0700
+++ b/test/java/awt/Toolkit/Headless/WrappedToolkitTest/WrappedToolkitTest.sh	Thu Sep 08 19:16:01 2016 -0700
@@ -154,16 +154,16 @@
 case "$OS" in
   Windows* | CYGWIN* )
     ${TESTJAVA}/bin/java ${TESTVMOPTS} -Djava.awt.headless=true \
-                         --add-exports java.desktop/sun.awt=ALL-UNNAMED \
-                         --add-exports java.desktop/sun.awt.windows=ALL-UNNAMED ${CP} \
+                         --add-exports-private java.desktop/sun.awt=ALL-UNNAMED \
+                         --add-exports-private java.desktop/sun.awt.windows=ALL-UNNAMED ${CP} \
                          TestWrapped sun.awt.windows.WToolkit
     status=$?
     if [ ! $status -eq "0" ]; then
       fail "Test FAILED: toolkit wrapped into HeadlessToolkit is not an instance of sun.awt.windows.WToolkit";
     fi
     ${TESTJAVA}/bin/java ${TESTVMOPTS} -Djava.awt.headless=true \
-                         --add-exports java.desktop/sun.awt=ALL-UNNAMED \
-                         --add-exports java.desktop/sun.awt.windows=ALL-UNNAMED ${CP} \
+                         --add-exports-private java.desktop/sun.awt=ALL-UNNAMED \
+                         --add-exports-private java.desktop/sun.awt.windows=ALL-UNNAMED ${CP} \
                          -Dawt.toolkit=sun.awt.windows.WToolkit \
                          TestWrapped sun.awt.windows.WToolkit
     status=$?
@@ -174,8 +174,8 @@
 
   SunOS | Linux )
     ${TESTJAVA}/bin/java ${TESTVMOPTS} -Djava.awt.headless=true \
-                         --add-exports java.desktop/sun.awt=ALL-UNNAMED \
-                         --add-exports java.desktop/sun.awt.X11=ALL-UNNAMED ${CP} \
+                         --add-exports-private java.desktop/sun.awt=ALL-UNNAMED \
+                         --add-exports-private java.desktop/sun.awt.X11=ALL-UNNAMED ${CP} \
                          -Dawt.toolkit=sun.awt.X11.XToolkit \
                          TestWrapped sun.awt.X11.XToolkit
     status=$?
@@ -183,8 +183,8 @@
       fail "Test FAILED: toolkit wrapped into HeadlessToolkit is not an instance of sun.awt.xawt.XToolkit";
     fi
     AWT_TOOLKIT=XToolkit ${TESTJAVA}/bin/java ${TESTVMOPTS} \
-                         --add-exports java.desktop/sun.awt=ALL-UNNAMED \
-                         --add-exports java.desktop/sun.awt.X11=ALL-UNNAMED ${CP} \
+                         --add-exports-private java.desktop/sun.awt=ALL-UNNAMED \
+                         --add-exports-private java.desktop/sun.awt.X11=ALL-UNNAMED ${CP} \
                                               -Djava.awt.headless=true \
                                               TestWrapped sun.awt.X11.XToolkit
     status=$?
@@ -195,16 +195,16 @@
 
   Darwin)
     ${TESTJAVA}/bin/java ${TESTVMOPTS} -Djava.awt.headless=true \
-                         --add-exports java.desktop/sun.awt=ALL-UNNAMED \
-                         --add-exports java.desktop/sun.lwawt.macosx=ALL-UNNAMED ${CP} \
+                         --add-exports-private java.desktop/sun.awt=ALL-UNNAMED \
+                         --add-exports-private java.desktop/sun.lwawt.macosx=ALL-UNNAMED ${CP} \
                          TestWrapped sun.lwawt.macosx.LWCToolkit
     status=$?
     if [ ! $status -eq "0" ]; then
       fail "Test FAILED: toolkit wrapped into HeadlessToolkit is not an instance of sun.lwawt.macosx.LWCToolkit";
     fi
     ${TESTJAVA}/bin/java ${TESTVMOPTS} -Djava.awt.headless=true \
-                         --add-exports java.desktop/sun.awt=ALL-UNNAMED \
-                         --add-exports java.desktop/sun.lwawt.macosx=ALL-UNNAMED ${CP} \
+                         --add-exports-private java.desktop/sun.awt=ALL-UNNAMED \
+                         --add-exports-private java.desktop/sun.lwawt.macosx=ALL-UNNAMED ${CP} \
                          -Dawt.toolkit=sun.lwawt.macosx.LWCToolkit \
                          TestWrapped sun.lwawt.macosx.LWCToolkit
     status=$?
--- a/test/java/awt/TrayIcon/ActionCommand/ActionCommand.java	Thu Sep 08 18:25:10 2016 -0700
+++ b/test/java/awt/TrayIcon/ActionCommand/ActionCommand.java	Thu Sep 08 19:16:01 2016 -0700
@@ -30,6 +30,7 @@
  *          of the ActionEvent triggered when TrayIcon is double clicked
  *          (single clicked, on Mac)
  * @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com)
+ * @modules java.desktop/java.awt:private
  * @library ../../../../lib/testlibrary ../
  * @library /java/awt/patchlib
  * @build java.desktop/java.awt.Helper
--- a/test/java/awt/TrayIcon/ActionEventMask/ActionEventMask.java	Thu Sep 08 18:25:10 2016 -0700
+++ b/test/java/awt/TrayIcon/ActionEventMask/ActionEventMask.java	Thu Sep 08 19:16:01 2016 -0700
@@ -33,6 +33,7 @@
  *          triggered when multiple AWTEventListeners and ActionListeners
  *          are added.
  * @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com)
+ * @modules java.desktop/java.awt:private
  * @library /java/awt/patchlib
  * @library ../../../../lib/testlibrary ../
  * @build java.desktop/java.awt.Helper
--- a/test/java/awt/TrayIcon/ActionEventTest/ActionEventTest.java	Thu Sep 08 18:25:10 2016 -0700
+++ b/test/java/awt/TrayIcon/ActionEventTest/ActionEventTest.java	Thu Sep 08 19:16:01 2016 -0700
@@ -25,6 +25,8 @@
  * @test
  * @bug 6191390 8154328
  * @summary Verify that ActionEvent is received with correct modifiers set.
+ * @modules java.desktop/java.awt:private
+ * @modules java.desktop/java.awt.peer
  * @library ../../../../lib/testlibrary ../
  * @library /java/awt/patchlib
  * @build java.desktop/java.awt.Helper
--- a/test/java/awt/TrayIcon/ModalityTest/ModalityTest.java	Thu Sep 08 18:25:10 2016 -0700
+++ b/test/java/awt/TrayIcon/ModalityTest/ModalityTest.java	Thu Sep 08 19:16:01 2016 -0700
@@ -29,6 +29,7 @@
  * @test
  * @summary Check for MouseEvents with all mouse buttons
  * @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com)
+ * @modules java.desktop/java.awt:private
  * @library /java/awt/patchlib
  * @library ../../../../lib/testlibrary ../
  * @build ExtendedRobot SystemTrayIconHelper
--- a/test/java/awt/TrayIcon/MouseEventMask/MouseEventMaskTest.java	Thu Sep 08 18:25:10 2016 -0700
+++ b/test/java/awt/TrayIcon/MouseEventMask/MouseEventMaskTest.java	Thu Sep 08 19:16:01 2016 -0700
@@ -32,6 +32,7 @@
  *          checks if all listeners are triggered when AWTEventListeners
  *          and MouseListeners are added.
  * @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com)
+ * @modules java.desktop/java.awt:private
  * @library /java/awt/patchlib
  * @library ../../../../lib/testlibrary ../
  * @build java.desktop/java.awt.Helper
--- a/test/java/awt/TrayIcon/SecurityCheck/FunctionalityCheck/FunctionalityCheck.java	Thu Sep 08 18:25:10 2016 -0700
+++ b/test/java/awt/TrayIcon/SecurityCheck/FunctionalityCheck/FunctionalityCheck.java	Thu Sep 08 19:16:01 2016 -0700
@@ -29,6 +29,7 @@
  * @test
  * @summary Check for MouseEvents with all mouse buttons
  * @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com)
+ * @modules java.desktop/java.awt:private
  * @library /java/awt/patchlib
  * @library ../../../../../lib/testlibrary ../../
  * @build java.desktop/java.awt.Helper
--- a/test/java/awt/TrayIcon/TrayIconEventModifiers/TrayIconEventModifiersTest.java	Thu Sep 08 18:25:10 2016 -0700
+++ b/test/java/awt/TrayIcon/TrayIconEventModifiers/TrayIconEventModifiersTest.java	Thu Sep 08 19:16:01 2016 -0700
@@ -34,6 +34,7 @@
  * @summary Check if MouseEvent has the proper modifiers when
  *          TrayIcon is clicked pressing the modifier keys
  * @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com)
+ * @modules java.desktop/java.awt:private
  * @library /java/awt/patchlib
  * @library ../../../../lib/testlibrary ../
  * @build java.desktop/java.awt.Helper
--- a/test/java/awt/TrayIcon/TrayIconEvents/TrayIconEventsTest.java	Thu Sep 08 18:25:10 2016 -0700
+++ b/test/java/awt/TrayIcon/TrayIconEvents/TrayIconEventsTest.java	Thu Sep 08 19:16:01 2016 -0700
@@ -30,6 +30,7 @@
  * @test
  * @summary Check for MouseEvents with all mouse buttons
  * @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com)
+ * @modules java.desktop/java.awt:private
  * @library /java/awt/patchlib
  * @library ../../../../lib/testlibrary ../
  * @build java.desktop/java.awt.Helper
--- a/test/java/awt/TrayIcon/TrayIconMouseTest/TrayIconMouseTest.java	Thu Sep 08 18:25:10 2016 -0700
+++ b/test/java/awt/TrayIcon/TrayIconMouseTest/TrayIconMouseTest.java	Thu Sep 08 19:16:01 2016 -0700
@@ -34,6 +34,7 @@
  *          it is double clicked with mouse button 1 on windows
  *          or single clicked with button 3 on Mac OS X
  *          or single clicked with button 1 on rest.
+ * @modules java.desktop/java.awt:private
  * @library /java/awt/patchlib
  * @library ../../../../lib/testlibrary ../
  * @build java.desktop/java.awt.Helper
--- a/test/java/awt/TrayIcon/TrayIconPopup/TrayIconPopupTest.java	Thu Sep 08 18:25:10 2016 -0700
+++ b/test/java/awt/TrayIcon/TrayIconPopup/TrayIconPopupTest.java	Thu Sep 08 19:16:01 2016 -0700
@@ -29,6 +29,7 @@
  * @summary Check if a JPopupMenu can be displayed when TrayIcon is
  *          right clicked. It uses a JWindow as the parent of the JPopupMenu
  * @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com)
+ * @modules java.desktop/java.awt:private
  * @library /java/awt/patchlib
  * @library ../../../../lib/testlibrary ../
  * @build java.desktop/java.awt.Helper
--- a/test/java/awt/Window/OwnedWindowsLeak/OwnedWindowsLeak.java	Thu Sep 08 18:25:10 2016 -0700
+++ b/test/java/awt/Window/OwnedWindowsLeak/OwnedWindowsLeak.java	Thu Sep 08 19:16:01 2016 -0700
@@ -26,6 +26,7 @@
   @key headful
   @bug 6758673
   @summary Tests that windows are removed from owner's child windows list
+  @modules java.desktop/java.awt:private
   @author art: area=awt.toplevel
   @run main/othervm -mx128m OwnedWindowsLeak
 */
--- a/test/java/awt/event/InputEvent/ButtonArraysEquality/ButtonArraysEquality.java	Thu Sep 08 18:25:10 2016 -0700
+++ b/test/java/awt/event/InputEvent/ButtonArraysEquality/ButtonArraysEquality.java	Thu Sep 08 19:16:01 2016 -0700
@@ -27,6 +27,7 @@
   @bug 6315717
   @summary verifies that InputEvents button masks arrays are the same
   @author Andrei Dmitriev : area=awt.event
+  @modules java.desktop/java.awt.event:private
   @run main ButtonArraysEquality
  */
 
--- a/test/java/awt/event/MouseEvent/CheckGetMaskForButton/CheckGetMaskForButton.java	Thu Sep 08 18:25:10 2016 -0700
+++ b/test/java/awt/event/MouseEvent/CheckGetMaskForButton/CheckGetMaskForButton.java	Thu Sep 08 19:16:01 2016 -0700
@@ -25,6 +25,7 @@
   @test %I% %E%
   @key headful
   @bug 6315717
+  @modules java.desktop/java.awt.event:private
   @summary verifies that InputEvent.getMaskForButton() returns the same values as in InputEvent.BUTTON_DOWN_MASK
   @author Andrei Dmitriev : area=awt.event
   @run main CheckGetMaskForButton
--- a/test/java/awt/font/FontNames/GetLCIDFromLocale.java	Thu Sep 08 18:25:10 2016 -0700
+++ b/test/java/awt/font/FontNames/GetLCIDFromLocale.java	Thu Sep 08 19:16:01 2016 -0700
@@ -24,7 +24,7 @@
 /*
  * @test
  * @bug 4351212
- * @modules java.desktop/sun.font
+ * @modules java.desktop/sun.font:private
  * @summary Verify that new getLCIDFromLocale method works
  */
 
--- a/test/java/awt/image/MultiResolutionImageTest.java	Thu Sep 08 18:25:10 2016 -0700
+++ b/test/java/awt/image/MultiResolutionImageTest.java	Thu Sep 08 19:16:01 2016 -0700
@@ -48,7 +48,7 @@
  * @requires (os.family == "mac")
  * @modules java.desktop/sun.awt
  *          java.desktop/sun.awt.image
- *          java.desktop/sun.lwawt.macosx
+ *          java.desktop/sun.lwawt.macosx:private
  * @run main MultiResolutionImageTest TOOLKIT_PREPARE
  * @run main MultiResolutionImageTest TOOLKIT_LOAD
  * @run main MultiResolutionImageTest TOOLKIT
--- a/test/java/awt/patchlib/java.desktop/java/awt/Helper.java	Thu Sep 08 18:25:10 2016 -0700
+++ b/test/java/awt/patchlib/java.desktop/java/awt/Helper.java	Thu Sep 08 19:16:01 2016 -0700
@@ -26,6 +26,6 @@
 public class Helper {
     private Helper() { }
     public static void addExports(String pn, Module target) {
-        java.awt.Component.class.getModule().addExports(pn, target);
+        java.awt.Component.class.getModule().addExportsPrivate(pn, target);
     }
 }
--- a/test/javax/sound/midi/Gervill/SoftSynthesizer/ImplicitOpenClose.java	Thu Sep 08 18:25:10 2016 -0700
+++ b/test/javax/sound/midi/Gervill/SoftSynthesizer/ImplicitOpenClose.java	Thu Sep 08 19:16:01 2016 -0700
@@ -23,7 +23,7 @@
 
 /* @test
    @summary Test SoftSynthesizer implicit open/close using getReceiver.
-   @modules java.desktop/com.sun.media.sound
+   @modules java.desktop/com.sun.media.sound:private
 */
 
 import java.lang.reflect.Field;
--- a/test/javax/sound/midi/Gervill/SoftSynthesizer/Open.java	Thu Sep 08 18:25:10 2016 -0700
+++ b/test/javax/sound/midi/Gervill/SoftSynthesizer/Open.java	Thu Sep 08 19:16:01 2016 -0700
@@ -23,7 +23,7 @@
 
 /* @test
    @summary Test SoftSynthesizer open method
-   @modules java.desktop/com.sun.media.sound
+   @modules java.desktop/com.sun.media.sound:private
 */
 
 import java.lang.reflect.Field;
--- a/test/javax/swing/JFileChooser/6688203/bug6688203.java	Thu Sep 08 18:25:10 2016 -0700
+++ b/test/javax/swing/JFileChooser/6688203/bug6688203.java	Thu Sep 08 19:16:01 2016 -0700
@@ -25,6 +25,7 @@
    @bug 6688203
    @summary Memory leak and performance problems in the method getFileSystemView of FileSystemView
    @author Pavel Porvatov
+   @modules java.desktop/javax.swing.filechooser:private
    @run main bug6688203
 */
 
--- a/test/javax/swing/JLabel/7004134/bug7004134.java	Thu Sep 08 18:25:10 2016 -0700
+++ b/test/javax/swing/JLabel/7004134/bug7004134.java	Thu Sep 08 19:16:01 2016 -0700
@@ -28,6 +28,7 @@
  * @summary JLabel containing a ToolTipText does no longer show ToolTip after browser refresh
  * @author Pavel Porvatov
  * @modules java.desktop/sun.awt
+ * @modules java.desktop/javax.swing:private
  */
 
 import sun.awt.SunToolkit;
--- a/test/javax/swing/JPopupMenu/6495920/bug6495920.java	Thu Sep 08 18:25:10 2016 -0700
+++ b/test/javax/swing/JPopupMenu/6495920/bug6495920.java	Thu Sep 08 19:16:01 2016 -0700
@@ -30,6 +30,7 @@
  * @author Sergey Malenkov
  * @library ../..
  * @modules java.desktop/sun.awt
+ * @modules java.desktop/javax.swing.plaf.basic:private
  */
 
 import sun.awt.AppContext;
--- a/test/javax/swing/JPopupMenu/6800513/bug6800513.java	Thu Sep 08 18:25:10 2016 -0700
+++ b/test/javax/swing/JPopupMenu/6800513/bug6800513.java	Thu Sep 08 19:16:01 2016 -0700
@@ -28,6 +28,7 @@
  * @bug 6800513
  * @summary GTK-LaF renders menus incompletely
  * @author Mario Torre
+ * @modules java.desktop/javax.swing:private
  * @library ../../regtesthelpers/
  * @build Util
  * @run main bug6800513
--- a/test/javax/swing/JSlider/6794836/bug6794836.java	Thu Sep 08 18:25:10 2016 -0700
+++ b/test/javax/swing/JSlider/6794836/bug6794836.java	Thu Sep 08 19:16:01 2016 -0700
@@ -27,6 +27,7 @@
  * @bug 6794836
  * @summary BasicSliderUI throws NullPointerExc when JSlider maximum is Integer.MAX_VALUE
  * @author Pavel Porvatov
+ * @modules java.desktop/javax.swing.plaf.basic:private
  * @run main bug6794836
  */
 
--- a/test/javax/swing/JSlider/6848475/bug6848475.java	Thu Sep 08 18:25:10 2016 -0700
+++ b/test/javax/swing/JSlider/6848475/bug6848475.java	Thu Sep 08 19:16:01 2016 -0700
@@ -27,6 +27,7 @@
  * @bug 6848475
  * @summary JSlider does not display the correct value of its BoundedRangeModel
  * @author Pavel Porvatov
+ * @modules java.desktop/javax.swing.plaf.basic:private
  * @run main bug6848475
  */
 
--- a/test/javax/swing/JTabbedPane/7010561/bug7010561.java	Thu Sep 08 18:25:10 2016 -0700
+++ b/test/javax/swing/JTabbedPane/7010561/bug7010561.java	Thu Sep 08 19:16:01 2016 -0700
@@ -29,6 +29,7 @@
 /* @test
    @bug 7010561
    @summary Tab text position with Synth based LaF is different to Java 5/6
+   @modules java.desktop/javax.swing.plaf.basic:private
    @author Pavel Porvatov
 */
 public class bug7010561 {
--- a/test/javax/swing/JTree/6263446/bug6263446.java	Thu Sep 08 18:25:10 2016 -0700
+++ b/test/javax/swing/JTree/6263446/bug6263446.java	Thu Sep 08 19:16:01 2016 -0700
@@ -27,6 +27,7 @@
  * @bug 6263446
  * @summary Tests that double-clicking to edit a cell doesn't select the content.
  * @author Shannon Hickey
+ * @modules java.desktop/javax.swing.tree:private
  * @run main bug6263446
  */
 import java.awt.*;
--- a/test/javax/swing/RepaintManager/7013453/bug7013453.java	Thu Sep 08 18:25:10 2016 -0700
+++ b/test/javax/swing/RepaintManager/7013453/bug7013453.java	Thu Sep 08 19:16:01 2016 -0700
@@ -24,6 +24,7 @@
 /* @test
    @bug 7013453
    @summary BufferStrategyPaintManager.dispose will cause IllegalMonitorStateException in event thread
+   @modules java.desktop/javax.swing:private
    @author Pavel Porvatov
 */
 
--- a/test/javax/swing/Security/6938813/bug6938813.java	Thu Sep 08 18:25:10 2016 -0700
+++ b/test/javax/swing/Security/6938813/bug6938813.java	Thu Sep 08 19:16:01 2016 -0700
@@ -26,6 +26,7 @@
  * @bug 6938813
  * @summary Swing mutable statics
  * @author Pavel Porvatov
+ * @modules java.desktop/javax.swing.text.html.parser:private
  * @modules java.desktop/sun.awt
  */
 
--- a/test/javax/swing/border/Test7149090.java	Thu Sep 08 18:25:10 2016 -0700
+++ b/test/javax/swing/border/Test7149090.java	Thu Sep 08 19:16:01 2016 -0700
@@ -24,6 +24,7 @@
 /* @test
    @bug 7149090
    @summary Nimbus:BorderFactory.createTitledBorder() the DEFAULT position of a title is not the same as the TOP
+   @modules java.desktop/javax.swing.border:private
    @author Pavel Porvatov
 */
 
--- a/test/javax/swing/plaf/synth/7143614/bug7143614.java	Thu Sep 08 18:25:10 2016 -0700
+++ b/test/javax/swing/plaf/synth/7143614/bug7143614.java	Thu Sep 08 19:16:01 2016 -0700
@@ -26,6 +26,7 @@
  * @bug 7143614
  * @summary Issues with Synth Look&Feel
  * @author Pavel Porvatov
+ * @modules java.desktop/javax.swing.plaf.synth:private
  * @modules java.desktop/sun.awt
  */
 
--- a/test/javax/swing/text/View/8014863/bug8014863.java	Thu Sep 08 18:25:10 2016 -0700
+++ b/test/javax/swing/text/View/8014863/bug8014863.java	Thu Sep 08 19:16:01 2016 -0700
@@ -28,6 +28,7 @@
  * @bug 8024395
  * @summary  Tests the calculation of the line breaks when a text is inserted
  * @author Dmitry Markov
+ * @modules java.desktop/javax.swing.text:private
  * @library ../../../regtesthelpers
  * @build Util
  * @run main bug8014863