JDK-8131752 : [Regression] Test java/awt/GraphicsDevice/CheckDisplayModes.java fails
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 8u60,9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • CPU: generic
  • Submitted: 2015-07-17
  • Updated: 2015-11-23
  • Resolved: 2015-07-23
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
8u66Fixed 9 b78Fixed
Related Reports
Relates :  
Description
Testsuite name: Regression(jdk_awt)
Test name(s): java/awt/GraphicsDevice/CheckDisplayModes.java 
Product(s) tested: JDK 1.8.0_60b23(64 bit/32 bit)
OS/architecture: Linux/x64
Error log file (if present):  see comments
Reproducible: Always
Reproducible on machine: spb23324.ru.oracle.com
Is it a Regression: Yes(fails for JDK 8u60b22 but passes for JDK 8u60b21)
Regression introduced in release/build: JDK 1.8.0_60 b22
Test result on the last GAed release for this train: 
Test result on FCS:  

Is it a platform specific issue: No
[If platform specific issue] Is it a new (previously unsupported) OS/browser/mode testing: No
[If new configuration testing] Issue specific to execution mode or OS/browser version: No

Exception/Error from Log:
----------System.err:(14/925)----------
java.lang.IllegalStateException: Must be in fullscreen mode in order to set display mode
	at sun.awt.X11GraphicsDevice.setDisplayMode(X11GraphicsDevice.java:413)
	at CheckDisplayModes.main(CheckDisplayModes.java:46)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
	at java.lang.Thread.run(Thread.java:745)

JavaTest Message: Test threw exception: java.lang.IllegalStateException: Must be in fullscreen mode in order to set display mode
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.IllegalStateException: Must be in fullscreen mode in order to set display mode

Test run log location:
Steps to reproduce: see comments
Comments
SQE is ok to defer to 8u66.
22-07-2015

9 is affected, the fix with regression wasn't synchronized with master yet.
22-07-2015

8u60-defer-request: This is not critical regression introduced in 8u60 by JDK-8129788 fix. Fullscreen is not necessary to change display mode and this check may be removed. Proposed to target to 8u66.
22-07-2015

This is the regression of JDK-8129788. Actually fullscreen is not necessary to change display mode and this check may be removed.
20-07-2015

what is a connection to 8u60 back port: JDK-8129788 ?
17-07-2015

Alexander, please fix it for 8u-dev (8u66)
17-07-2015