-
Bug
-
Resolution: Unresolved
-
P4
-
9, 10, 11
-
generic
-
linux, windows_10
. The fix for JDK-8198613 removed the usage of VM option -Dsun.java2d.opengl=True for all test cases.
. This implies that, the respective test cases would be executed on the default pipeline of the host machine
. CustomCompositeTest.java has been observed to fail with exception on windows and linux machines.
. Here are few excerpts from the JTreport files.
. [Windows-10]-
java.lang.RuntimeException: Test FAILED.
at CustomCompositeTest.main(CustomCompositeTest.java:82)
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:841)
Caused by: java.lang.ClassCastException: java.desktop/sun.java2d.d3d.D3DSurfaceData$D3DDataBufferNative cannot be cast to java.desktop/java.awt.image.DataBufferInt
at CustomCompositeTest$TestCompositeContext.compose(CustomCompositeTest.java:241)
at java.desktop/sun.java2d.loops.Blit$AnyBlit.Blit(Blit.java:179)
at java.desktop/sun.java2d.pipe.DrawImage.blitSurfaceData(DrawImage.java:972)
at java.desktop/sun.java2d.pipe.DrawImage.renderImageCopy(DrawImage.java:583)
. [Linux]
java.lang.RuntimeException: Test FAILED.
at CustomCompositeTest.main(CustomCompositeTest.java:82)
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:841)
Caused by: java.lang.InternalError: not implemented yet
at java.desktop/sun.java2d.xr.XRSurfaceData.getRaster(XRSurfaceData.java:71)
at java.desktop/sun.java2d.loops.Blit$AnyBlit.Blit(Blit.java:161)
at java.desktop/sun.java2d.pipe.DrawImage.blitSurfaceData(DrawImage.java:972)
. This implies that, the respective test cases would be executed on the default pipeline of the host machine
. CustomCompositeTest.java has been observed to fail with exception on windows and linux machines.
. Here are few excerpts from the JTreport files.
. [Windows-10]-
java.lang.RuntimeException: Test FAILED.
at CustomCompositeTest.main(CustomCompositeTest.java:82)
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:841)
Caused by: java.lang.ClassCastException: java.desktop/sun.java2d.d3d.D3DSurfaceData$D3DDataBufferNative cannot be cast to java.desktop/java.awt.image.DataBufferInt
at CustomCompositeTest$TestCompositeContext.compose(CustomCompositeTest.java:241)
at java.desktop/sun.java2d.loops.Blit$AnyBlit.Blit(Blit.java:179)
at java.desktop/sun.java2d.pipe.DrawImage.blitSurfaceData(DrawImage.java:972)
at java.desktop/sun.java2d.pipe.DrawImage.renderImageCopy(DrawImage.java:583)
. [Linux]
java.lang.RuntimeException: Test FAILED.
at CustomCompositeTest.main(CustomCompositeTest.java:82)
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:841)
Caused by: java.lang.InternalError: not implemented yet
at java.desktop/sun.java2d.xr.XRSurfaceData.getRaster(XRSurfaceData.java:71)
at java.desktop/sun.java2d.loops.Blit$AnyBlit.Blit(Blit.java:161)
at java.desktop/sun.java2d.pipe.DrawImage.blitSurfaceData(DrawImage.java:972)
- relates to
-
JDK-8198613 Test cases result in failure or timeout when run with OpenGL backend
-
- Resolved
-