JDK-8023483 : sun/java2d/DirectX/TransformedPaintTest/TransformedPaintTest.java failed with jdk8 on linux platforms
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 8
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2013-08-21
  • Updated: 2013-12-06
  • Resolved: 2013-10-22
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
8 b115Fixed
Related Reports
Duplicate :  
Duplicate :  
Description
test sun/java2d/DirectX/TransformedPaintTest/TransformedPaintTest.java failed on linux platforms with jdk8 (checked with jdk8b102, jdk8b57, jdk8b34) and passed with jdk7u25b15

failure log:
----------System.out:(0/0)----------
----------System.err:(16/934)----------
Dumped image to: TransformedPaintTest_res.png
java.lang.RuntimeException: Test failed, blue color found
	at TransformedPaintTest.checkBI(TransformedPaintTest.java:149)
	at TransformedPaintTest.runTest(TransformedPaintTest.java:174)
	at TransformedPaintTest.main(TransformedPaintTest.java:216)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:491)
	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
	at java.lang.Thread.run(Thread.java:724)
Comments
Release team: Approved for deferral. Wasn't sure where you wanted it deferred so I put it on 8-pool.
18-10-2013

jdk8: SQE OK to defer
15-10-2013

8 defer justification: this seems to be limited to artifacts with 2 not commonly used paint types solely on some Linux clients under transforms. It doesn't affect the general case.
14-10-2013

This seems to be 1) a problem specific to RadialGradientPaint on a transformed graphics. If I make the RGP the first paint tested so that its not at a translated location its fine. 2) A small 'wrap around artifact with the texture paint also I expect as a result of the transform. I didn't see any problem with TexturePaint in Java2Demo The most important paints in order : - Color, Gradient and LinearGradientPaint were fine.
14-10-2013

Test fails on Solaris 11 x64 jdk8b104 same log. #section:main ----------messages:(3/135)---------- command: main TransformedPaintTest reason: User specified action: run main/othervm TransformedPaintTest elapsed time (seconds): 0.649 ----------System.out:(0/0)---------- ----------System.err:(16/934)---------- Dumped image to: TransformedPaintTest_res.png java.lang.RuntimeException: Test failed, blue color found at TransformedPaintTest.checkBI(TransformedPaintTest.java:149) at TransformedPaintTest.runTest(TransformedPaintTest.java:174) at TransformedPaintTest.main(TransformedPaintTest.java:216) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:491) at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94) at java.lang.Thread.run(Thread.java:724) JavaTest Message: Test threw exception: java.lang.RuntimeException: Test failed, blue color found JavaTest Message: shutting down test STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test failed, blue color found result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test failed, blue color found test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test failed, blue color found
27-08-2013