JDK-8162836 : java.lang.IllegalArgumentException is thrown by api/java_awt/Component/FlipBufferStrategy/indexTGF.html\#General
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 8u111,8u112
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2016-08-01
  • Updated: 2016-08-22
  • Resolved: 2016-08-04
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
8u111Resolved
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Description
api/java_awt/Component/FlipBufferStrategy/indexTGF.html\#General is throwing IllegalArgumentException.

Testcase "constructor_enclosingCanvas" has thrown an unexpected exception java.lang.IllegalArgumentException: Width (-10) and height (-30) cannot be <= 0
Comments
Govindan, It's expected the test still fails on 8u112-b07. The above mentioned fixes are integrated in 8u112-b08. Hence the test must pass on 8u112-b08 and above.
22-08-2016

Issue seen again with JDK 8 u112 b07 and not sure, which open bug to track for the issue is getting fixed on jdk 8.
08-08-2016

I have backported the fixes from JDK-8147077 and JDK-8148127.
04-08-2016

I see: the fix from JDK-8147077 has to be backported.
01-08-2016

Most likely the test needs to be modified: JDK-8140530 fixed a situation where no error was reported for invalid parameters. The created image was unusable without indication for any error.
01-08-2016

Please see jtr as attachment for more details.
01-08-2016

RULE "api/java_awt/Component/FlipBufferStrategy/indexTGF_General" Exception java.lang.IllegalArgumentException: Width (...) and height (...) cannot be <= ... RULE "api/java_awt/Component/FlipBufferStrategy/indexTGF_General" TestCase [constructor_enclosingCanvas] test cases: 4; passed: 1; failed: 1; not applicable: 2; first test case failure: constructor_enclosingCanvas RULE "api/java_awt/Component/FlipBufferStrategy/indexTGF_General" TestCase [constructor_enclosingWindow] test cases: 4; failed: 2; not applicable: 2; first test case failure: constructor_enclosingWindow
01-08-2016