JDK-8164540 : Test java/awt/FullScreen/DisplayChangeVITest/DisplayChangeVITest.java fails
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 8
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris
  • CPU: generic
  • Submitted: 2016-08-22
  • Updated: 2017-11-29
  • Resolved: 2017-11-29
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-poolResolved
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
Testsuite name: jdk_awt
Test name(s): java/awt/FullScreen/DisplayChangeVITest/DisplayChangeVITest.java
Product(s) tested: JDK 8 u112 b09
OS/architecture: Solaris sparcv9 64 bit

Reproducible: Always


Is it a Regression: No, test also failed for jdk 1.8.0 u20 b26 and also for JDK 8 u112 b01 (where JDK-7172749 was fixed)

Is it a platform specific issue: Yes (Test passed for Mac Os )
[If platform specific issue] Is it a new (previously unsupported) OS/browser/mode testing: Yes/No
[If new configuration testing] Issue specific to execution mode or OS/browser version:

Exception/Error from Log:
----------System.out:(0/0)----------
----------System.err:(33/1864)----------
Found display modes:
DisplayMode[1920x1200x-1]
DisplayMode[800x600x-1]
Entering DisplayMode[1920x1200x-1]
Entering DisplayMode[800x600x-1]
Entering DisplayMode[1920x1200x-1]
Entering DisplayMode[800x600x-1]
Entering DisplayMode[1920x1200x-1]
Entering DisplayMode[800x600x-1]
java.lang.ClassCastException: sun.awt.image.BufImgSurfaceData cannot be cast to sun.java2d.xr.XRSurfaceData
	at sun.java2d.xr.XRPMBlitLoops.cacheToTmpSurface(XRPMBlitLoops.java:148)
	at sun.java2d.xr.XrSwToPMBlit.Blit(XRPMBlitLoops.java:356)
	at sun.java2d.pipe.DrawImage.blitSurfaceData(DrawImage.java:959)
	at sun.java2d.pipe.DrawImage.renderImageCopy(DrawImage.java:577)
	at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:67)
	at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:1014)
	at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3318)
	at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3296)
	at DisplayChangeVITest.render(DisplayChangeVITest.java:108)
	at DisplayChangeVITest.run(DisplayChangeVITest.java:129)
	at java.lang.Thread.run(Thread.java:745)
	at DisplayChangeVITest.main(DisplayChangeVITest.java:230)
	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:498)
	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.ClassCastException: sun.awt.image.BufImgSurfaceData cannot be cast to sun.java2d.xr.XRSurfaceData
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.ClassCastException: sun.awt.image.BufImgSurfaceData cannot be cast to sun.java2d.xr.XRSurfaceData
Comments
this is still re producable with jdk 8
02-09-2016

will be closed as non reproducible
23-08-2016