--- old/test/jdk/ProblemList.txt 2018-02-21 06:53:49.000000000 -0800 +++ new/test/jdk/ProblemList.txt 2018-02-21 06:53:49.000000000 -0800 @@ -111,6 +111,8 @@ # jdk_awt +java/awt/BasicStroke/DashScaleMinWidth.java 8198411 windows-all +java/awt/BasicStroke/DashZeroWidth.java 8198411 windows-all java/awt/event/MouseEvent/MouseClickTest/MouseClickTest.html 8168389 windows-all,macosx-all java/awt/Focus/ActualFocusedWindowTest/ActualFocusedWindowBlockingTest.java 8168408 windows-all java/awt/Focus/FocusOwnerFrameOnClick/FocusOwnerFrameOnClick.java 8081489 generic-all @@ -120,6 +122,7 @@ java/awt/Frame/MaximizedUndecorated/MaximizedUndecorated.java 8022302 generic-all java/awt/FileDialog/FileDialogIconTest/FileDialogIconTest.java 8160558 windows-all +java/awt/FileDialog/8003399/bug8003399.java 8198334 windows-all java/awt/event/MouseWheelEvent/InfiniteRecursion/InfiniteRecursion.java 8060176 windows-all,macosx-all java/awt/event/MouseWheelEvent/InfiniteRecursion/InfiniteRecursion_1.java 8060176 windows-all,macosx-all java/awt/dnd/BadSerializaionTest/BadSerializationTest.java 8039082 generic-all @@ -135,11 +138,13 @@ java/awt/Mixing/AWT_Mixing/MixingPanelsResizing.java 8049405 generic-all java/awt/Focus/ActualFocusedWindowTest/ActualFocusedWindowRetaining.java 6829264 generic-all java/awt/datatransfer/DragImage/MultiResolutionDragImageTest.java 8080982 generic-all +java/awt/datatransfer/SystemFlavorMap/AddFlavorTest.java 8079268 linux-all java/awt/Toolkit/ScreenInsetsTest/ScreenInsetsTest.java 6829250 windows-all java/awt/LightweightComponent/LightweightEventTest/LightweightEventTest.java 8159252 windows-all java/awt/EventDispatchThread/HandleExceptionOnEDT/HandleExceptionOnEDT.java 6990210 generic-all java/awt/EventDispatchThread/LoopRobustness/LoopRobustness.html 4931413 windows-all java/awt/FullScreen/FullScreenInsets/FullScreenInsets.java 7019055 windows-all +java/awt/FullScreen/UninitializedDisplayModeChangeTest/UninitializedDisplayModeChangeTest.java 8198335 windows-all java/awt/Focus/8013611/JDK8013611.java 8175366 windows-all java/awt/Focus/6981400/Test1.java 8029675 windows-all java/awt/Focus/6981400/Test3.java 8173264 generic-all @@ -175,12 +180,20 @@ java/awt/Window/Grab/GrabTest.java 8196019 windows-all java/awt/Window/ShapedAndTranslucentWindows/ShapedTranslucentWindowClick.java 8196020 windows-all java/awt/font/TextLayout/CombiningPerf.java 8192931 generic-all +java/awt/font/TextLayout/TextLayoutBounds.java 8169188 macosx-all +java/awt/font/MonospacedGlyphWidth/MonospacedGlyphWidthTest.java 8198412 linux-all,solaris-all +java/awt/font/StyledMetrics/BoldSpace.java 8198422 linux-all +java/awt/FontMetrics/FontCrash.java 8198336 windows-all java/awt/image/DrawImage/IncorrectAlphaSurface2SW.java 8056077 generic-all java/awt/image/DrawImage/IncorrectClipXorModeSW2Surface.java 8196025 windows-all java/awt/image/DrawImage/IncorrectClipXorModeSurface2Surface.java 8196025 windows-all java/awt/image/DrawImage/IncorrectSourceOffset.java 8196086 windows-all java/awt/image/DrawImage/IncorrectUnmanagedImageRotatedClip.java 8196087 windows-all +java/awt/image/MultiResolutionImage/MultiResolutionDrawImageWithTransformTest.java 8198390 generic-all java/awt/print/Headless/HeadlessPrinterJob.java 8196088 windows-all +java/awt/print/PrinterJob/TestPgfmtSetMPA.java 8198343 generic-all +sun/awt/datatransfer/SuplementaryCharactersTransferTest.java 8011371 generic-all +sun/awt/shell/ShellFolderMemoryLeak.java 8197794 windows-all sun/java2d/DirectX/OnScreenRenderingResizeTest/OnScreenRenderingResizeTest.java 8022403 generic-all sun/java2d/DirectX/OverriddenInsetsTest/OverriddenInsetsTest.java 8196102 generic-all sun/java2d/DirectX/RenderingToCachedGraphicsTest/RenderingToCachedGraphicsTest.java 8196180 windows-all @@ -196,10 +209,14 @@ java/awt/FullScreen/NonExistentDisplayModeTest/NonExistentDisplayModeTest.java 8196187 windows-all java/awt/Graphics/ClippedCopyAreaTest/ClippedCopyAreaTest.java 8196436 linux-all java/awt/Graphics/CopyScaledArea/CopyScaledAreaTest.java 8196189 windows-all +java/awt/Graphics2D/DrawString/DrawRotatedStringUsingRotatedFont.java 8197796 generic-all java/awt/GraphicsDevice/CloneConfigsTest.java 8196190 windows-all java/awt/TextArea/TextAreaScrolling/TextAreaScrolling.java 8196300 windows-all java/awt/print/PrinterJob/Margins.java 8196301 windows-all +java/awt/print/PrinterJob/PSQuestionMark.java 7003378 windows-all +java/awt/print/PrinterJob/GlyphPositions.java 7003378 windows-all java/awt/Choice/PopupPosTest/PopupPosTest.html 8192930 windows-all +java/awt/Component/CreateImage/CreateImage.java 8198334 windows-all java/awt/Component/GetScreenLocTest.java 4753654 windows-all java/awt/Choice/SelectCurrentItemTest/SelectCurrentItemTest.html 8192929 windows-all java/awt/Dialog/MakeWindowAlwaysOnTop/MakeWindowAlwaysOnTop.java 7054586 windows-all @@ -266,6 +283,8 @@ java/awt/Modal/ToBack/ToBackTKModal4Test.java 8196441 linux-all java/awt/List/SingleModeDeselect/SingleModeDeselect.java 8196301 windows-all +javax/print/PrintSEUmlauts/PrintSEUmlauts.java 8135174 generic-all + ############################################################################ @@ -400,6 +419,9 @@ # jdk_swing +com/sun/java/swing/plaf/windows/Test8173145.java 8198334 windows-all + +javax/swing/border/Test6981576.java 8198339 generic-all javax/swing/JComponent/7154030/bug7154030.java 7190978 generic-all javax/swing/JInternalFrame/8160248/JInternalFrameDraggingTest.java 8186513 generic-all javax/swing/JComboBox/ConsumedKeyTest/ConsumedKeyTest.java 8067986 generic-all @@ -411,6 +433,7 @@ javax/swing/JComboBox/8033069/bug8033069ScrollBar.java 8163367 generic-all javax/swing/JColorChooser/Test6541987.java 8143021 windows-all,linux-all javax/swing/JTable/7124218/SelectEditTableCell.java 8148958 linux-all +javax/swing/JTable/4235420/bug4235420.java 8079127 linux-all,macosx-all javax/swing/JTree/DnD/LastNodeLowerHalfDrop.java 8159131 linux-all javax/swing/JFileChooser/8041694/bug8041694.java 8196302 windows-all javax/swing/JInternalFrame/8069348/bug8069348.java 8196303 windows-all @@ -422,6 +445,7 @@ javax/swing/JComboBox/8057893/bug8057893.java 8169953 windows-all javax/swing/JComboBox/8072767/bug8072767.java 8196093 windows-all javax/swing/JComponent/4337267/bug4337267.java 8146451 windows-all +javax/swing/JEditorPane/5076514/bug5076514.java 8198321 generic-all javax/swing/JEditorPane/6917744/bug6917744.java 8194767 generic-all javax/swing/JFileChooser/4524490/bug4524490.java 8042380 generic-all javax/swing/JFileChooser/8002077/bug8002077.java 8196094 windows-all @@ -434,18 +458,34 @@ javax/swing/JTabbedPane/8007563/Test8007563.java 8051591 generic-all javax/swing/SwingUtilities/TestBadBreak/TestBadBreak.java 8160720 generic-all javax/swing/plaf/basic/BasicTextUI/8001470/bug8001470.java 8196098 windows-all +javax/swing/plaf/basic/Test6984643.java 8198340 windows-all javax/swing/text/CSSBorder/6796710/bug6796710.java 8196099 windows-all javax/swing/text/DefaultCaret/HidingSelection/HidingSelectionTest.java 8194048 windows-all javax/swing/text/JTextComponent/5074573/bug5074573.java 8196100 windows-all javax/swing/JFileChooser/6798062/bug6798062.java 8146446 windows-all -javax/swing/plaf/basic/BasicGraphicsUtils/8132119/bug8132119.java 8196434 linux-all +javax/swing/plaf/basic/BasicGraphicsUtils/8132119/bug8132119.java 8196434 linux-all,solaris-all javax/swing/JComboBox/8032878/bug8032878.java 8196439 linux-all javax/swing/JComboBox/8182031/ComboPopupTest.java 8196465 linux-all -javax/swing/JFileChooser/6738668/bug6738668.java 8194946 linux-all,macosx-all +javax/swing/JFileChooser/6738668/bug6738668.java 8194946 generic-all javax/swing/JFileChooser/8021253/bug8021253.java 8169954 windows-all,linux-all -javax/swing/JFileChooser/8062561/bug8062561.java 8196466 linux-all +javax/swing/JFileChooser/8062561/bug8062561.java 8196466 linux-all,macosx-all +javax/swing/JFileChooser/FileSystemView/FileSystemViewListenerLeak.java 8198342 generic-all javax/swing/JInternalFrame/Test6325652.java 8196467 linux-all - +javax/swing/MultiUIDefaults/Test6860438.java 8198391 generic-all +javax/swing/UITest/UITest.java 8198392 generic-all +javax/swing/plaf/basic/BasicComboBoxEditor/Test8015336.java 8198394 linux-all,macosx-all +javax/swing/plaf/metal/MetalLookAndFeel/Test8039750.java 8198395 generic-all +javax/swing/text/DevanagariEditor.java 8198397 linux-all +javax/swing/JColorChooser/Test6199676.java 8198398 linux-all,macosx-all +javax/swing/JTable/6735286/bug6735286.java 8198398 linux-all,macosx-all +javax/swing/SpringLayout/4726194/bug4726194.java 8198399 generic-all +javax/swing/SwingUtilities/6797139/bug6797139.java 8198400 generic-all +javax/swing/text/html/parser/Parser/6836089/bug6836089.java 8198401 linux-all,macosx-all +javax/swing/JTable/8133919/DrawGridLinesTest.java 8198407 generic-all +javax/swing/text/html/StyleSheet/BackgroundImage/BackgroundImagePosition.java 8198409 generic-all +javax/swing/text/AbstractDocument/DocumentInsert/DocumentInsertAtWrongPositionTest.java 8198396 generic-all +javax/swing/JFileChooser/6868611/bug6868611.java 7059834 windows-all +javax/swing/SwingWorker/6493680/bug6493680.java 8198410 windows-all ############################################################################ --- old/test/jdk/java/awt/Desktop/8064934/bug8064934.java 2018-02-21 06:53:51.000000000 -0800 +++ new/test/jdk/java/awt/Desktop/8064934/bug8064934.java 2018-02-21 06:53:50.000000000 -0800 @@ -23,6 +23,8 @@ /* @test * @bug 8064934 + * @key headful + * @requires (os.family == "windows") * @summary Incorrect Exception message from java.awt.Desktop.open() * @author Dmitry Markov * @library ../../../../lib/testlibrary --- old/test/jdk/java/awt/Desktop/OpenByUNCPathNameTest/OpenByUNCPathNameTest.java 2018-02-21 06:53:54.000000000 -0800 +++ new/test/jdk/java/awt/Desktop/OpenByUNCPathNameTest/OpenByUNCPathNameTest.java 2018-02-21 06:53:53.000000000 -0800 @@ -23,6 +23,8 @@ /* @test @bug 6550588 + @key headful + @requires (os.family == "windows") @summary java.awt.Desktop cannot open file with Windows UNC filename @author Anton Litvinov */ --- old/test/jdk/java/awt/EmbeddedFrame/GraphicsConfigTest/GraphicsConfigTest.java 2018-02-21 06:53:58.000000000 -0800 +++ new/test/jdk/java/awt/EmbeddedFrame/GraphicsConfigTest/GraphicsConfigTest.java 2018-02-21 06:53:57.000000000 -0800 @@ -24,6 +24,7 @@ /* * @test * @bug 6356322 + * @key headful * @summary Tests that embedded frame's graphics configuration is updated * correctly when it is moved to another screen in multiscreen system, * XToolkit --- old/test/jdk/java/awt/FileDialog/ISCthrownByFileListTest/ISCthrownByFileListTest.java 2018-02-21 06:54:01.000000000 -0800 +++ new/test/jdk/java/awt/FileDialog/ISCthrownByFileListTest/ISCthrownByFileListTest.java 2018-02-21 06:54:00.000000000 -0800 @@ -24,6 +24,7 @@ /* @test @bug 6304979 + @key headful @summary REG: File Dialog throws ArrayIndexOutOfBounds Exception on XToolkit with b45 @author Dmitry Cherepanov: area=awt.filedialog @run main/othervm -Dsun.awt.disableGtkFileDialogs=true ISCthrownByFileListTest --- old/test/jdk/java/awt/Focus/SortingFPT/JDK8048887.java 2018-02-21 06:54:02.000000000 -0800 +++ new/test/jdk/java/awt/Focus/SortingFPT/JDK8048887.java 2018-02-21 06:54:02.000000000 -0800 @@ -23,6 +23,7 @@ /* @test + @key headful @bug 8048887 8164937 @summary Tests SortingFTP for an exception caused by the tim-sort algo. @author anton.tarasov: area=awt.focus --- old/test/jdk/java/awt/FullScreen/UninitializedDisplayModeChangeTest/UninitializedDisplayModeChangeTest.java 2018-02-21 06:54:03.000000000 -0800 +++ new/test/jdk/java/awt/FullScreen/UninitializedDisplayModeChangeTest/UninitializedDisplayModeChangeTest.java 2018-02-21 06:54:03.000000000 -0800 @@ -23,8 +23,8 @@ /** * @test - * @bug 6358034 - * @bug 6568560 + * @bug 6358034 6568560 + * @key headful * @summary Tests that no exception is thrown when display mode is changed * externally * @compile UninitializedDisplayModeChangeTest.java DisplayModeChanger.java --- old/test/jdk/java/awt/Graphics2D/ScaledTransform/ScaledTransform.java 2018-02-21 06:54:05.000000000 -0800 +++ new/test/jdk/java/awt/Graphics2D/ScaledTransform/ScaledTransform.java 2018-02-21 06:54:04.000000000 -0800 @@ -33,6 +33,7 @@ /* * @test * @bug 8069361 + * @key headful * @summary SunGraphics2D.getDefaultTransform() does not include scale factor * @author Alexander Scherbatiy * @run main ScaledTransform --- old/test/jdk/java/awt/List/SetBackgroundTest/SetBackgroundTest.java 2018-02-21 06:54:06.000000000 -0800 +++ new/test/jdk/java/awt/List/SetBackgroundTest/SetBackgroundTest.java 2018-02-21 06:54:06.000000000 -0800 @@ -24,6 +24,8 @@ /* @test @bug 6246467 + @key headful + @requires (os.family == "linux") | (os.family == "solaris") @summary List does not honor user specified background, foreground colors on XToolkit @author Dmitry Cherepanov area=awt.list @library ../../../../lib/testlibrary --- old/test/jdk/java/awt/Mouse/MouseModifiersUnitTest/ExtraButtonDrag.java 2018-02-21 06:54:07.000000000 -0800 +++ new/test/jdk/java/awt/Mouse/MouseModifiersUnitTest/ExtraButtonDrag.java 2018-02-21 06:54:07.000000000 -0800 @@ -22,7 +22,7 @@ */ /* - @test %I% %E% + @test @key headful @bug 6315717 @summary verifies that drag events are coming for every button if the property is set to true --- old/test/jdk/java/awt/Paint/PaintNativeOnUpdate.java 2018-02-21 06:54:08.000000000 -0800 +++ new/test/jdk/java/awt/Paint/PaintNativeOnUpdate.java 2018-02-21 06:54:08.000000000 -0800 @@ -36,7 +36,7 @@ * @library ../../../lib/testlibrary * @build ExtendedRobot * @author Sergey Bylokhov - @ @run main PaintNativeOnUpdate + * @run main PaintNativeOnUpdate */ public final class PaintNativeOnUpdate extends Label { --- old/test/jdk/java/awt/Robot/AcceptExtraMouseButtons/AcceptExtraMouseButtons.java 2018-02-21 06:54:09.000000000 -0800 +++ new/test/jdk/java/awt/Robot/AcceptExtraMouseButtons/AcceptExtraMouseButtons.java 2018-02-21 06:54:09.000000000 -0800 @@ -22,7 +22,7 @@ */ /* - @test %I% %E% + @test @key headful @bug 6315717 @summary verifies that Robot is accepting extra mouse buttons --- old/test/jdk/java/awt/TextArea/DisposeTest/TestDispose.java 2018-02-21 06:54:11.000000000 -0800 +++ new/test/jdk/java/awt/TextArea/DisposeTest/TestDispose.java 2018-02-21 06:54:10.000000000 -0800 @@ -27,6 +27,7 @@ /* @test * @bug 7155298 + * @key headful * @run main/othervm/timeout=60 TestDispose * @summary Editable TextArea blocks GUI application from exit. * @author Sean Chou --- old/test/jdk/java/awt/TextField/DisposeTest/TestDispose.java 2018-02-21 06:54:12.000000000 -0800 +++ new/test/jdk/java/awt/TextField/DisposeTest/TestDispose.java 2018-02-21 06:54:11.000000000 -0800 @@ -27,6 +27,7 @@ /* @test * @bug 7155298 + * @key headful * @run main/othervm/timeout=60 TestDispose * @summary Editable TextField blocks GUI application from exit. * @author Sean Chou --- old/test/jdk/java/awt/Toolkit/RealSync/Test.java 2018-02-21 06:54:13.000000000 -0800 +++ new/test/jdk/java/awt/Toolkit/RealSync/Test.java 2018-02-21 06:54:12.000000000 -0800 @@ -24,6 +24,7 @@ /* @test @bug 6252005 + @key headful @summary Tests that realSync feature works @author denis.mikhalkin: area=awt.toolkit @modules java.desktop/sun.awt @@ -150,7 +151,7 @@ } } errors.clear(); - System.exit(1); + throw new Error(); } public static void asser(boolean value) { --- old/test/jdk/java/awt/TrayIcon/8072769/bug8072769.java 2018-02-21 06:54:14.000000000 -0800 +++ new/test/jdk/java/awt/TrayIcon/8072769/bug8072769.java 2018-02-21 06:54:14.000000000 -0800 @@ -23,6 +23,8 @@ /* @test @bug 8072769 + @key headful + @requires (os.family == "windows") @summary System tray icon title freezes java @author Semyon Sadetsky @library ../../../../lib/testlibrary --- old/test/jdk/java/awt/TrayIcon/ActionCommand/ActionCommand.java 2018-02-21 06:54:15.000000000 -0800 +++ new/test/jdk/java/awt/TrayIcon/ActionCommand/ActionCommand.java 2018-02-21 06:54:15.000000000 -0800 @@ -26,6 +26,7 @@ /* * @test + * @key headful * @summary Check the return value of the getActionCommand method * of the ActionEvent triggered when TrayIcon is double clicked * (single clicked, on Mac) --- old/test/jdk/java/awt/TrayIcon/ActionEventMask/ActionEventMask.java 2018-02-21 06:54:16.000000000 -0800 +++ new/test/jdk/java/awt/TrayIcon/ActionEventMask/ActionEventMask.java 2018-02-21 06:54:16.000000000 -0800 @@ -27,6 +27,7 @@ /* * @test + * @key headful * @summary Check if ActionEvent triggered when a TrayIcon is double * (single, on Mac) clicked is visible by an AWTEventListener * added to the Toolkit. It also checks if all listeners are --- old/test/jdk/java/awt/TrayIcon/ActionEventTest/ActionEventTest.java 2018-02-21 06:54:17.000000000 -0800 +++ new/test/jdk/java/awt/TrayIcon/ActionEventTest/ActionEventTest.java 2018-02-21 06:54:17.000000000 -0800 @@ -24,6 +24,7 @@ /* * @test * @bug 6191390 8154328 + * @key headful * @summary Verify that ActionEvent is received with correct modifiers set. * @modules java.desktop/java.awt:open * @modules java.desktop/java.awt.peer --- old/test/jdk/java/awt/TrayIcon/CtorTest/CtorTest.java 2018-02-21 06:54:18.000000000 -0800 +++ new/test/jdk/java/awt/TrayIcon/CtorTest/CtorTest.java 2018-02-21 06:54:18.000000000 -0800 @@ -24,6 +24,7 @@ /* @test @bug 6759726 + @key headful @summary TrayIcon constructor throws NPE instead of documented IAE @author Dmitry Cherepanov area=awt.tray @run main CtorTest --- old/test/jdk/java/awt/TrayIcon/GetTrayIconsTest/GetTrayIcons.java 2018-02-21 06:54:19.000000000 -0800 +++ new/test/jdk/java/awt/TrayIcon/GetTrayIconsTest/GetTrayIcons.java 2018-02-21 06:54:19.000000000 -0800 @@ -26,6 +26,7 @@ /* * @test + * @key headful * @summary Check the getTrayIcons method of the SystemTray * @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com) * @run main GetTrayIcons --- old/test/jdk/java/awt/TrayIcon/InterJVMTest/InterJVM.java 2018-02-21 06:54:20.000000000 -0800 +++ new/test/jdk/java/awt/TrayIcon/InterJVMTest/InterJVM.java 2018-02-21 06:54:20.000000000 -0800 @@ -23,6 +23,7 @@ /* * @test + * @key headful * @summary Check if TrayIcon added by a JVM is not visible * in another JVM * @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com) --- old/test/jdk/java/awt/TrayIcon/ModalityTest/ModalityTest.java 2018-02-21 06:54:21.000000000 -0800 +++ new/test/jdk/java/awt/TrayIcon/ModalityTest/ModalityTest.java 2018-02-21 06:54:21.000000000 -0800 @@ -27,6 +27,7 @@ /* * @test + * @key headful * @summary Check for MouseEvents with all mouse buttons * @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com) * @modules java.desktop/java.awt:open --- old/test/jdk/java/awt/TrayIcon/MouseEventMask/MouseEventMaskTest.java 2018-02-21 06:54:22.000000000 -0800 +++ new/test/jdk/java/awt/TrayIcon/MouseEventMask/MouseEventMaskTest.java 2018-02-21 06:54:22.000000000 -0800 @@ -27,6 +27,7 @@ /* * @test + * @key headful * @summary Check if MouseEvents triggered by TrayIcon are visible * by an AWTEventListener added to the Toolkit. It also * checks if all listeners are triggered when AWTEventListeners --- old/test/jdk/java/awt/TrayIcon/MouseMovedTest/MouseMovedTest.java 2018-02-21 06:54:23.000000000 -0800 +++ new/test/jdk/java/awt/TrayIcon/MouseMovedTest/MouseMovedTest.java 2018-02-21 06:54:23.000000000 -0800 @@ -27,6 +27,7 @@ /* * @test + * @key headful * @bug 7153700 * @summary Check for mouseMoved event for java.awt.TrayIcon * @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com) --- old/test/jdk/java/awt/TrayIcon/PropertyChangeListenerTest.java 2018-02-21 06:54:24.000000000 -0800 +++ new/test/jdk/java/awt/TrayIcon/PropertyChangeListenerTest.java 2018-02-21 06:54:24.000000000 -0800 @@ -28,6 +28,7 @@ /* * @test + * @key headful * @summary Check if custom property change listener added * to system tray works correctly * @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com) --- old/test/jdk/java/awt/TrayIcon/SecurityCheck/FunctionalityCheck/FunctionalityCheck.java 2018-02-21 06:54:25.000000000 -0800 +++ new/test/jdk/java/awt/TrayIcon/SecurityCheck/FunctionalityCheck/FunctionalityCheck.java 2018-02-21 06:54:25.000000000 -0800 @@ -27,6 +27,7 @@ /* * @test + * @key headful * @summary Check for MouseEvents with all mouse buttons * @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com) * @modules java.desktop/java.awt:open --- old/test/jdk/java/awt/TrayIcon/SecurityCheck/NoPermissionTest/NoPermissionTest.java 2018-02-21 06:54:26.000000000 -0800 +++ new/test/jdk/java/awt/TrayIcon/SecurityCheck/NoPermissionTest/NoPermissionTest.java 2018-02-21 06:54:26.000000000 -0800 @@ -26,6 +26,7 @@ /* * @test + * @key headful * @summary Check for SecurityException occurrence if no permissions for system tray granted * @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com) * @run main/othervm/policy=tray.policy -Djava.security.manager NoPermissionTest --- old/test/jdk/java/awt/TrayIcon/SecurityCheck/PermissionTest/PermissionTest.java 2018-02-21 06:54:28.000000000 -0800 +++ new/test/jdk/java/awt/TrayIcon/SecurityCheck/PermissionTest/PermissionTest.java 2018-02-21 06:54:27.000000000 -0800 @@ -26,6 +26,7 @@ /* * @test + * @key headful * @summary Check for no Exception occurrence if permissions for system tray granted * @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com) * @run main/othervm/policy=tray.policy -Djava.security.manager PermissionTest --- old/test/jdk/java/awt/TrayIcon/TrayIconAddTest/TrayIconAddTest.java 2018-02-21 06:54:29.000000000 -0800 +++ new/test/jdk/java/awt/TrayIcon/TrayIconAddTest/TrayIconAddTest.java 2018-02-21 06:54:28.000000000 -0800 @@ -27,6 +27,7 @@ /* * @test + * @key headful * @summary Tests the add method of the SystemTray. Checks if it * throws proper exceptions in case of invalid arguments and adds the * TrayIcon correctly in case of a proper argument --- old/test/jdk/java/awt/TrayIcon/TrayIconEvents/TrayIconEventsTest.java 2018-02-21 06:54:30.000000000 -0800 +++ new/test/jdk/java/awt/TrayIcon/TrayIconEvents/TrayIconEventsTest.java 2018-02-21 06:54:30.000000000 -0800 @@ -28,6 +28,7 @@ /* * @test + * @key headful * @summary Check for MouseEvents with all mouse buttons * @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com) * @modules java.desktop/java.awt:open --- old/test/jdk/java/awt/TrayIcon/TrayIconMethodsTest/TrayIconMethodsTest.java 2018-02-21 06:54:31.000000000 -0800 +++ new/test/jdk/java/awt/TrayIcon/TrayIconMethodsTest/TrayIconMethodsTest.java 2018-02-21 06:54:31.000000000 -0800 @@ -27,6 +27,7 @@ /* * @test + * @key headful * @summary Check various methods of the TrayIcon - whether the methods * return the proper values, throws the proper exceptions etc * @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com) --- old/test/jdk/java/awt/TrayIcon/TrayIconMouseTest/TrayIconMouseTest.java 2018-02-21 06:54:32.000000000 -0800 +++ new/test/jdk/java/awt/TrayIcon/TrayIconMouseTest/TrayIconMouseTest.java 2018-02-21 06:54:32.000000000 -0800 @@ -31,6 +31,7 @@ /* * @test * @bug 6384991 + * @key headful * @summary Check if ActionEvent is triggered by a TrayIcon when * it is double clicked with mouse button 1 on windows * or single clicked with button 3 on Mac OS X --- old/test/jdk/java/awt/TrayIcon/TrayIconPopup/TrayIconPopupClickTest.java 2018-02-21 06:54:33.000000000 -0800 +++ new/test/jdk/java/awt/TrayIcon/TrayIconPopup/TrayIconPopupClickTest.java 2018-02-21 06:54:33.000000000 -0800 @@ -34,6 +34,7 @@ /* * @test + * @key headful * @summary Check if a action performed event is received when TrayIcon display * message is clicked on. * @author Shashidhara Veerabhadraiah (shashidhara.veerabhadraiah@oracle.com) --- old/test/jdk/java/awt/TrayIcon/TrayIconPopup/TrayIconPopupTest.java 2018-02-21 06:54:35.000000000 -0800 +++ new/test/jdk/java/awt/TrayIcon/TrayIconPopup/TrayIconPopupTest.java 2018-02-21 06:54:34.000000000 -0800 @@ -26,6 +26,7 @@ /* * @test + * @key headful * @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) --- old/test/jdk/java/awt/TrayIcon/TrayIconRemoveTest/TrayIconRemoveTest.java 2018-02-21 06:54:36.000000000 -0800 +++ new/test/jdk/java/awt/TrayIcon/TrayIconRemoveTest/TrayIconRemoveTest.java 2018-02-21 06:54:35.000000000 -0800 @@ -26,6 +26,7 @@ /* * @test + * @key headful * @summary Test the remove method of the TrayIcon * @author Dmitriy Ermashov (dmitriy.ermashov@oracle.com) * @run main TrayIconRemoveTest --- old/test/jdk/java/awt/TrayIcon/TrayIconSizeTest/TrayIconSizeTest.java 2018-02-21 06:54:37.000000000 -0800 +++ new/test/jdk/java/awt/TrayIcon/TrayIconSizeTest/TrayIconSizeTest.java 2018-02-21 06:54:37.000000000 -0800 @@ -27,6 +27,7 @@ /* * @test + * @key headful * @summary Test the methods TrayIcon.getSize and SystemTray.getTrayIconSize. * There is no way to check whether the values returned are correct, * so its checked whether the value is greater than a minimum --- old/test/jdk/java/awt/TrayIcon/UpdatePopupMenu/UpdatePopupMenu.java 2018-02-21 06:54:38.000000000 -0800 +++ new/test/jdk/java/awt/TrayIcon/UpdatePopupMenu/UpdatePopupMenu.java 2018-02-21 06:54:38.000000000 -0800 @@ -24,6 +24,7 @@ /* @test @bug 8147841 + @key headful @summary Updating Tray Icon popup menu does not update menu items on Mac OS X @run main/manual UpdatePopupMenu */ --- old/test/jdk/java/awt/Window/GetScreenLocation/GetScreenLocationTest.java 2018-02-21 06:54:39.000000000 -0800 +++ new/test/jdk/java/awt/Window/GetScreenLocation/GetScreenLocationTest.java 2018-02-21 06:54:39.000000000 -0800 @@ -22,7 +22,8 @@ */ /** - * @test @summary setLocationRelativeTo stopped working in Ubuntu 13.10 (Unity) + * @test + * @summary setLocationRelativeTo stopped working in Ubuntu 13.10 (Unity) * @key headful * @bug 8036915 8161273 * @run main/othervm -Dsun.java2d.uiScale=1 GetScreenLocationTest --- old/test/jdk/java/awt/Window/MultiWindowApp/ChildAlwaysOnTopTest.java 2018-02-21 06:54:40.000000000 -0800 +++ new/test/jdk/java/awt/Window/MultiWindowApp/ChildAlwaysOnTopTest.java 2018-02-21 06:54:40.000000000 -0800 @@ -22,8 +22,10 @@ */ /** - * @test @summary setAlwaysOnTop doesn't behave correctly in Linux/Solaris under - * certain scenarios + * @test + * @key headful + * @summary setAlwaysOnTop doesn't behave correctly in Linux/Solaris under + * certain scenarios * @bug 8021961 * @author Semyon Sadetsky * @run main ChildAlwaysOnTopTest --- old/test/jdk/java/awt/Window/MultiWindowApp/MultiWindowAppTest.java 2018-02-21 06:54:42.000000000 -0800 +++ new/test/jdk/java/awt/Window/MultiWindowApp/MultiWindowAppTest.java 2018-02-21 06:54:41.000000000 -0800 @@ -22,7 +22,8 @@ */ /** - * @test @summary After calling frame.toBack() dialog goes to the back on Ubuntu 12.04 + * @test + * @summary After calling frame.toBack() dialog goes to the back on Ubuntu 12.04 * @key headful * @bug 8022334 * @author Semyon Sadetsky --- old/test/jdk/java/awt/dnd/DisposeFrameOnDragCrash/DisposeFrameOnDragTest.java 2018-02-21 06:54:43.000000000 -0800 +++ new/test/jdk/java/awt/dnd/DisposeFrameOnDragCrash/DisposeFrameOnDragTest.java 2018-02-21 06:54:42.000000000 -0800 @@ -22,7 +22,8 @@ */ /** - * @test @summary JVM crash if the frame is disposed in DropTargetListener + * @test + * @summary JVM crash if the frame is disposed in DropTargetListener * @key headful * @author Petr Pchelko * @library ../../regtesthelpers --- old/test/jdk/java/awt/font/TextLayout/TestAATMorxFont.java 2018-02-21 06:54:44.000000000 -0800 +++ new/test/jdk/java/awt/font/TextLayout/TestAATMorxFont.java 2018-02-21 06:54:43.000000000 -0800 @@ -23,6 +23,7 @@ */ /* @test + * @key headful * @summary verify rendering of MORX fonts on OS X. * @bug 8031462 */ --- old/test/jdk/java/awt/image/MultiResolutionImageCommonTest.java 2018-02-21 06:54:45.000000000 -0800 +++ new/test/jdk/java/awt/image/MultiResolutionImageCommonTest.java 2018-02-21 06:54:44.000000000 -0800 @@ -34,7 +34,8 @@ import java.awt.image.MultiResolutionImage; /** - * @test @bug 8011059 + * @test + * @bug 8011059 * @author Alexander Scherbatiy * @summary Test MultiResolution image loading and painting with various scaling * combinations --- old/test/jdk/java/awt/image/MultiResolutionImageTest.java 2018-02-21 06:54:46.000000000 -0800 +++ new/test/jdk/java/awt/image/MultiResolutionImageTest.java 2018-02-21 06:54:45.000000000 -0800 @@ -40,7 +40,8 @@ import java.awt.image.MultiResolutionImage; /** - * @test @bug 8011059 + * @test + * @bug 8011059 * @key headful * @author Alexander Scherbatiy * @summary [macosx] Make JDK demos look perfect on retina displays --- old/test/jdk/java/awt/print/PrinterJob/DeviceScale.java 2018-02-21 06:54:47.000000000 -0800 +++ new/test/jdk/java/awt/print/PrinterJob/DeviceScale.java 2018-02-21 06:54:47.000000000 -0800 @@ -23,6 +23,7 @@ /* @test 1.2 02/05/15 @bug 4810363 4924441 + @key printer @run main DeviceScale @summary check the peek scale is the same as the device scale, and that the clips are also the same --- old/test/jdk/java/awt/print/PrinterJob/DummyPrintTest.java 2018-02-21 06:54:48.000000000 -0800 +++ new/test/jdk/java/awt/print/PrinterJob/DummyPrintTest.java 2018-02-21 06:54:48.000000000 -0800 @@ -23,6 +23,7 @@ /* * @test * @bug 6921664 + * @key printer * @summary Verifies number of copies and the job name are passed to a * 3rd party PrintService. * @run main DummyPrintTest --- old/test/jdk/java/awt/print/PrinterJob/HeadlessPrintingTest.java 2018-02-21 06:54:49.000000000 -0800 +++ new/test/jdk/java/awt/print/PrinterJob/HeadlessPrintingTest.java 2018-02-21 06:54:49.000000000 -0800 @@ -24,6 +24,7 @@ /** * @test * @bug 4936867 + * @key printer * @summary Printing crashes in headless mode. * @run main/othervm HeadlessPrintingTest */ --- old/test/jdk/javax/imageio/plugins/shared/ImageWriterCompressionTest.java 2018-02-21 06:54:50.000000000 -0800 +++ new/test/jdk/javax/imageio/plugins/shared/ImageWriterCompressionTest.java 2018-02-21 06:54:50.000000000 -0800 @@ -42,7 +42,8 @@ import javax.imageio.stream.ImageOutputStream; /** - * @test @bug 6488522 + * @test + * @bug 6488522 * @summary Check the compression support in imageio ImageWriters * @run main ImageWriterCompressionTest */ --- old/test/jdk/javax/print/PrintServiceLookup/CountPrintServices.java 2018-02-21 06:54:51.000000000 -0800 +++ new/test/jdk/javax/print/PrintServiceLookup/CountPrintServices.java 2018-02-21 06:54:51.000000000 -0800 @@ -32,6 +32,7 @@ /* * @test * @bug 8032693 + * @key printer * @summary Test that lpstat and JDK agree whether there are printers. */ public class CountPrintServices { --- old/test/jdk/javax/print/attribute/ChromaticityValues.java 2018-02-21 06:54:52.000000000 -0800 +++ new/test/jdk/javax/print/attribute/ChromaticityValues.java 2018-02-21 06:54:52.000000000 -0800 @@ -23,6 +23,8 @@ /* * @test * @bug 4446106 + * @key printer + * @requires (os.family == "windows") * @summary Test for chromaticity values. * @run main ChromaticityValues */ --- old/test/jdk/javax/swing/JEditorPane/8080972/TestJEditor.java 2018-02-21 06:54:53.000000000 -0800 +++ new/test/jdk/javax/swing/JEditorPane/8080972/TestJEditor.java 2018-02-21 06:54:53.000000000 -0800 @@ -40,6 +40,7 @@ * @summary Audit Core Reflection in module java.desktop for places that will * require changes to work with modules * @author Alexander Scherbatiy + * @run main/othervm TestJEditor */ public class TestJEditor { --- old/test/jdk/javax/swing/JEditorPane/bug4714674.java 2018-02-21 06:54:54.000000000 -0800 +++ new/test/jdk/javax/swing/JEditorPane/bug4714674.java 2018-02-21 06:54:54.000000000 -0800 @@ -27,7 +27,7 @@ @author Peter Zhelezniakov @modules java.desktop jdk.httpserver - @run main bug4714674 + @run main/othervm bug4714674 */ import javax.swing.*; --- old/test/jdk/javax/swing/JFileChooser/6520101/bug6520101.java 2018-02-21 06:54:55.000000000 -0800 +++ new/test/jdk/javax/swing/JFileChooser/6520101/bug6520101.java 2018-02-21 06:54:55.000000000 -0800 @@ -22,7 +22,7 @@ */ /* - * @test @(#)bug6520101 + * @test * @key headful * @bug 6520101 * @summary JFileChooser throws OOM in 1.4.2, 5.0u4 and 1.6.0 --- old/test/jdk/javax/swing/JFileChooser/8062561/bug8062561.java 2018-02-21 06:54:56.000000000 -0800 +++ new/test/jdk/javax/swing/JFileChooser/8062561/bug8062561.java 2018-02-21 06:54:56.000000000 -0800 @@ -36,6 +36,8 @@ /** * @test * @bug 8062561 + * @key headful + * @requires (os.family == "windows") * @summary File system view returns null default directory * @library ../../../../lib/testlibrary * @modules java.desktop/sun.awt --- old/test/jdk/javax/swing/JMenuItem/6883341/bug6883341.java 2018-02-21 06:54:57.000000000 -0800 +++ new/test/jdk/javax/swing/JMenuItem/6883341/bug6883341.java 2018-02-21 06:54:57.000000000 -0800 @@ -24,6 +24,7 @@ /* * @test * @bug 6883341 + * @key headful * @summary Checks that menu items with no text don't throw an exception * @author Alexander Potochkin * @run main bug6883341 --- old/test/jdk/javax/swing/JTable/8031971/bug8031971.java 2018-02-21 06:54:58.000000000 -0800 +++ new/test/jdk/javax/swing/JTable/8031971/bug8031971.java 2018-02-21 06:54:58.000000000 -0800 @@ -32,7 +32,7 @@ * @bug 8031971 8039750 * @author Alexander Scherbatiy * @summary Use only public methods in the SwingLazyValue - * @run main bug8031971 + * @run main/othervm bug8031971 */ public class bug8031971 { --- old/test/jdk/javax/swing/Popup/TaskbarPositionTest.java 2018-02-21 06:55:00.000000000 -0800 +++ new/test/jdk/javax/swing/Popup/TaskbarPositionTest.java 2018-02-21 06:54:59.000000000 -0800 @@ -27,7 +27,8 @@ import javax.swing.event.*; /** - * @test @bug 4245587 4474813 4425878 4767478 8015599 + * @test + * @bug 4245587 4474813 4425878 4767478 8015599 * @key headful * @author Mark Davidson * @summary Tests the location of the heavy weight popup portion of JComboBox, --- old/test/jdk/javax/swing/RepaintManager/DisplayListenerLeak/DisplayListenerLeak.java 2018-02-21 06:55:01.000000000 -0800 +++ new/test/jdk/javax/swing/RepaintManager/DisplayListenerLeak/DisplayListenerLeak.java 2018-02-21 06:55:00.000000000 -0800 @@ -34,6 +34,7 @@ /** * @test * @bug 8041654 + * @key headful * @modules java.desktop/sun.java2d * @run main/othervm -Xmx80m DisplayListenerLeak */ --- old/test/jdk/javax/swing/UIDefaults/6622002/bug6622002.java 2018-02-21 06:55:02.000000000 -0800 +++ new/test/jdk/javax/swing/UIDefaults/6622002/bug6622002.java 2018-02-21 06:55:01.000000000 -0800 @@ -26,6 +26,7 @@ * @bug 6622002 * @author Alexander Potochkin * @summary UIDefault.ProxyLazyValue has unsafe reflection usage + * @run main/othervm bug6622002 */ import javax.swing.*; --- old/test/jdk/javax/swing/UIDefaults/8080972/TestProxyLazyValue.java 2018-02-21 06:55:03.000000000 -0800 +++ new/test/jdk/javax/swing/UIDefaults/8080972/TestProxyLazyValue.java 2018-02-21 06:55:02.000000000 -0800 @@ -28,6 +28,7 @@ * @summary Audit Core Reflection in module java.desktop for places that will * require changes to work with modules * @author Alexander Scherbatiy + * @run main/othervm TestProxyLazyValue */ public class TestProxyLazyValue { --- old/test/jdk/javax/swing/plaf/nimbus/TestDisabledToolTipBorder.java 2018-02-21 06:55:04.000000000 -0800 +++ new/test/jdk/javax/swing/plaf/nimbus/TestDisabledToolTipBorder.java 2018-02-21 06:55:03.000000000 -0800 @@ -21,7 +21,8 @@ * questions. */ /** - * @test @bug 8058785 + * @test + * @bug 8058785 * @summary Displaying border around the disabled component's tool tip text * @run main/manual TestDisabledToolTipBorder */ --- old/test/jdk/javax/swing/text/View/8080972/TestObjectView.java 2018-02-21 06:55:05.000000000 -0800 +++ new/test/jdk/javax/swing/text/View/8080972/TestObjectView.java 2018-02-21 06:55:04.000000000 -0800 @@ -36,6 +36,7 @@ * @summary Audit Core Reflection in module java.desktop for places that will * require changes to work with modules * @author Alexander Scherbatiy + * @run main/othervm TestObjectView */ public class TestObjectView { --- old/test/jdk/sun/java2d/marlin/TextClipErrorTest.java 2018-02-21 06:55:06.000000000 -0800 +++ new/test/jdk/sun/java2d/marlin/TextClipErrorTest.java 2018-02-21 06:55:05.000000000 -0800 @@ -50,7 +50,8 @@ import javax.imageio.ImageIO; /** - * @test @bug 8144718 + * @test + * @bug 8144718 * @summary Check the Stroker.drawBezApproxForArc() bug (stoke with round * joins): if cosext2 > 0.5, it generates curves with NaN coordinates * @run main TextClipErrorTest