JDK-8056074 : Test java/awt/FullScreen/DisplayChangeVITest/DisplayChangeVITest.java fails
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 8u20
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: generic
  • Submitted: 2014-08-26
  • Updated: 2016-08-22
  • Resolved: 2014-08-26
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
tbd_majorResolved
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
Test name(s): java/awt/FullScreen/DisplayChangeVITest/DisplayChangeVITest.java
JDK tested: jdk1.8_20b26,jdk1.8.0_11b31 
OS tested: Oracle Linux 7 
Is it a regression? No 
Regression introduced in release/build: N/A 
            
Is it platform specific? Yes 
   
The is failure reproduced: Oracle Linux 7 

----------System.err:(33/1858)----------
Found display modes:
DisplayMode[1280x1024x-1]
DisplayMode[832x624x-1]
Entering DisplayMode[1280x1024x-1]
Entering DisplayMode[832x624x-1]
Entering DisplayMode[1280x1024x-1]
Entering DisplayMode[832x624x-1]
Entering DisplayMode[1280x1024x-1]
Entering DisplayMode[832x624x-1]
java.lang.ClassCastException: sun.awt.image.BufImgSurfaceData cannot be cast to sun.java2d.xr.XRSurfaceData
	at sun.java2d.xr.XRPMBlitLoops.cacheToTmpSurface(XRPMBlitLoops.java:145)
	at sun.java2d.xr.XrSwToPMBlit.Blit(XRPMBlitLoops.java:353)
	at sun.java2d.pipe.DrawImage.blitSurfaceData(DrawImage.java:967)
	at sun.java2d.pipe.DrawImage.renderImageCopy(DrawImage.java:585)
	at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:67)
	at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:1022)
	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:483)
	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
	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
RULE java/awt/FullScreen/DisplayChangeVITest/DisplayChangeVITest.java Exception java.lang.ClassCastException: sun.awt.image.BufImgSurfaceData cannot be cast to sun.java2d.xr.XRSurfaceData
26-08-2014