JDK-8196006 : java/awt/Frame/SetMaximizedBounds/SetMaximizedBounds.java fails
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 9,10
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2018-01-23
  • Updated: 2020-01-23
  • Resolved: 2020-01-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.
Other
tbdResolved
Related Reports
Duplicate :  
Description
Fails at least on Windows 7 

----------System.err:(14/1152)----------
java.lang.RuntimeException: The bounds of the Frame do not equal to what is specified when the frame is in Frame.MAXIMIZED_BOTH state
	at SetMaximizedBounds.testMaximizedBounds(SetMaximizedBounds.java:96)
	at SetMaximizedBounds.main(SetMaximizedBounds.java:61)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
	at java.base/java.lang.Thread.run(Thread.java:844)

JavaTest Message: Test threw exception: java.lang.RuntimeException: The bounds of the Frame do not equal to what is specified when the frame is in Frame.MAXIMIZED_BOTH state
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.RuntimeException: The bounds of the Frame do not equal to what is specified when the frame is in Frame.MAXIMIZED_BOTH state
Comments
Old review thread: https://mail.openjdk.java.net/pipermail/awt-dev/2018-February/013539.html It was considered as a product bug, not a testbug.
23-01-2020

Sending this bug fix for review.
02-02-2018