JDK-8129569 : [TEST_BUG] Test java/awt/Frame/MaximizedToUnmaximized/MaximizedToUnmaximized.java fails
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 9,10
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2015-06-23
  • Updated: 2022-06-20
  • Resolved: 2018-02-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 11
11 b04Fixed
Related Reports
Relates :  
Description
Test name(s): java/awt/Frame/MaximizedToUnmaximized/MaximizedToUnmaximized.java

JDK tested: 9b68
OS tested: Windows , Solaris 11
Is it a regression? NO 
Is it platform specific? No 
The is failure reproduced: always 
         
General description: 
----------System.err:(14/891)----------
java.lang.RuntimeException: Frame state does not equal MAXIMIZED_BOTH!
	at MaximizedToUnmaximized.testFrame(MaximizedToUnmaximized.java:72)
	at MaximizedToUnmaximized.main(MaximizedToUnmaximized.java:40)
	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:502)
	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.RuntimeException: Frame state does not equal MAXIMIZED_BOTH!
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Frame state does not equal MAXIMIZED_BOTH!
Comments
URL: http://hg.openjdk.java.net/jdk/jdk/rev/8ff80b2e0fe0 User: prr Date: 2018-03-01 18:10:54 +0000
01-03-2018

URL: http://hg.openjdk.java.net/jdk/client/rev/8ff80b2e0fe0 User: aghaisas Date: 2018-02-23 04:35:49 +0000
23-02-2018

Put for review: http://cr.openjdk.java.net/~sveerabhadra/8129569/webrev.01/
23-02-2018

Seems to be a test bug as this test is newly introduced in 9b68 as part of JDK fix JDK-8065739
23-06-2015

Machine to reproduce :- spb23265.ru.oracle.com,spb23350.ru.oracle.com RULE java/awt/Frame/MaximizedToUnmaximized/MaximizedToUnmaximized.java Exception java.lang.RuntimeException: Frame state does not equal MAXIMIZED_BOTH! http://scaaa008.us.oracle.com:9502/runs/00972/972132.ManualSubmit/972132.ManualSubmit-1/workDir/java/awt/Frame/MaximizedToUnmaximized/MaximizedToUnmaximized.jtr http://scaaa008.us.oracle.com:9502/runs/00968/968658.ManualSubmit/968658.ManualSubmit-1/workDir/java/awt/Frame/MaximizedToUnmaximized/MaximizedToUnmaximized.jtr
23-06-2015