JDK-8159690 : [TESTBUG] Mark headful tests with @key headful.
  • Type: Bug
  • Component: client-libs
  • Affected Version: 8,9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-06-16
  • Updated: 2024-06-24
  • Resolved: 2016-06-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 JDK 9 Other
8u271Fixed 9 b124Fixed openjdk8u422Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
We have test machines without X server. On these many of the jdk
jtreg tests fail with a headless exception.
We grepped for this exception in the .jtr test output files and identified
about 450 tests.

In these tests, we added with another script "@key headful".
So that the script generates better output, I adapted the
formatting of some of the test descriptions.

Last, I updated the Copyrights with the script by Coleen.


Comments
[jdk8u-fix-request] Approval Request from yaqsun
17-01-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk8u-dev/pull/306 Date: 2023-04-20 03:04:25 +0000
10-05-2023

As I recall, Andrew asked that this backport be made more general by first backporting many/most of the tests affected by the original commit, as he had done for iced-tea. I did some of that work, but didn't complete it. Things I had in flight: Search: https://bugs.openjdk.org/browse/JDK-8261461?jql=text%20~%20%22testbug%20mark%20headful%22 JDK-816097 https://mail.openjdk.org/pipermail/jdk8u-dev/2020-November/012990.html JDK-8039081 https://mail.openjdk.org/pipermail/jdk8u-dev/2020-November/012989.html JDK-8196196 backported to 8u372 JDK-8136592 restricted, http://hg.openjdk.java.net/jdk-updates/jdk9u/jdk/rev/ddc8bbf88d36, http://cr.openjdk.java.net/~phh/8136592/webrev.8u.jdk.02/ JDK-8150724 JDK-8033936 JDK-8172510 JDK-6778087 JDK-8073320 JDK-8041490, restricted, http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/015dda6cfc53 JDK-4373478, restricted JDK-8261867 https://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/1085ecd9ffa1 had a few relevant non-@module changes, https://cr.openjdk.java.net/~andrew/openjdk8/8261867/webrev.01/index.html
02-02-2023

8u I am working on this patch to make it "cleaner", already backported some dependencies and test updates.
02-02-2023

Patch still under review and needs further revision: https://mail.openjdk.java.net/pipermail/jdk8u-dev/2021-February/013426.html
17-02-2021

8u backport review approval: https://mail.openjdk.java.net/pipermail/jdk8u-dev/2020-November/013116.html
26-11-2020

Patch is to comments only, thus minimal risk. In the icedtea 8u backport http://icedtea.classpath.org//hg/icedtea8-forest/jdk?cmd=changeset;node=dcd850780adc, and after the backport sequence in https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3077, the patches to the following 45 files are omitted because they do not exist in 8u. java/awt/AppContext/ApplicationThreadsStop/ApplicationThreadsStop.java java/awt/Choice/PopdownGeneratesMouseEvents/PopdownGeneratesMouseEvents.html java/awt/Clipboard/HTMLTransferTest/HTMLTransferTest.html java/awt/Cursor/GetSystemCustomCursor/GetSystemCustomCursor.java java/awt/Debug/DumpOnKey/DumpOnKey.java java/awt/EventDispatchThread/PropertyPermissionOnEDT/PropertyPermissionOnEDT.java java/awt/FileDialog/ModalFocus/FileDialogModalFocusTest.java java/awt/Focus/Cause/FocusCauseTest.java java/awt/Focus/FocusTraversalPolicy/ContainerOrderFTPTest.java java/awt/Frame/FrameResize/ShowChildWhileResizingTest.java java/awt/Frame/MaximizedToUnmaximized/MaximizedToUnmaximized.java java/awt/Frame/NonEDT_GUI_DeadlockTest/NonEDT_GUI_Deadlock.html java/awt/FullScreen/NonExistentDisplayModeTest/NonExistentDisplayModeTest.java java/awt/Graphics/CopyScaledArea/CopyScaledAreaTest.java java/awt/List/ActionEventTest/ActionEventTest.java java/awt/List/FocusEmptyListTest/FocusEmptyListTest.html java/awt/List/ItemEventTest/ItemEventTest.java java/awt/Mouse/MouseModifiersUnitTest/MouseModifiersInKeyEvent.java java/awt/MouseInfo/GetPointerInfoTest.java java/awt/MouseInfo/MultiscreenPointerInfo.java java/awt/MouseInfo/PointerInfoCrashTest.java java/awt/Paint/ComponentIsNotDrawnAfterRemoveAddTest/ComponentIsNotDrawnAfterRemoveAddTest.java java/awt/Robot/RobotWheelTest/RobotWheelTest.java java/awt/TextArea/TextAreaScrolling/TextAreaScrolling.java java/awt/TextField/EOLTest/EOLTest.java java/awt/Toolkit/GetSizeTest/GetScreenSizeTest.java java/awt/Window/FindOwner/FindOwnerTest.html java/awt/Window/MultiWindowApp/MultiWindowAppTest.java java/awt/Window/ScreenLocation/ScreenLocationTest.java java/awt/applet/Applet/AppletFlipBuffer.java java/awt/datatransfer/ConstructFlavoredObjectTest/ConstructFlavoredObjectTest.java java/awt/datatransfer/CustomClassLoaderTransferTest/CustomClassLoaderTransferTest.java java/awt/datatransfer/DataFlavor/DataFlavorRemoteTest.java java/awt/datatransfer/MissedHtmlAndRtfBug/MissedHtmlAndRtfBug.html java/awt/font/Underline/UnderlineTest.java java/awt/image/DrawImage/ScaledImageAlphaTest.java java/awt/image/VolatileImage/BitmaskVolatileImage.java java/awt/image/VolatileImage/VolatileImageBug.java java/awt/print/PageFormat/NullPaper.java java/awt/print/PageFormat/ReverseLandscapeTest.java java/awt/security/WarningWindowDisposeTest/WarningWindowDisposeCrashTest.java javax/swing/SwingUtilities/8049533/bug8049533.java sun/java2d/OpenGL/CopyAreaOOB.java sun/java2d/SunGraphics2D/EmptyClipRenderingTest.java sun/java2d/SunGraphics2D/SurfaceDestination/SurfaceDestination.java These files are not present in 8u, but are present in http://icedtea.classpath.org//hg/icedtea8-forest/jdk?cmd=changeset;node=dcd850780adc and are also not in the 3077 patch. java/awt/Mouse/MouseWheelAbsXY/MouseWheelAbsXY.java java/awt/hidpi/properties/HiDPIPropertiesUnixTest.java java/awt/image/multiresolution/MultiresolutionIconTest.java
12-11-2020

As noted on the list (https://mail.openjdk.java.net/pipermail/jdk8u-dev/2020-October/012898.html), the current backport is omitting too much of the original change. We should look at what we can do to rectify that before throwing away nearly a third of the patch.
30-10-2020

Fix Request (8u) [for Jonathan Dowland] This is an Oracle parity backport. I reviewed 8u patch and looks good.
29-10-2020

RFR [for Jonathan Dowland]: https://mail.openjdk.java.net/pipermail/jdk8u-dev/2020-July/012194.html
27-08-2020

URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/980da45565c8 User: lana Date: 2016-06-22 19:53:10 +0000
22-06-2016

URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/980da45565c8 User: goetz Date: 2016-06-17 14:20:03 +0000
17-06-2016