Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8164540

Test java/awt/FullScreen/DisplayChangeVITest/DisplayChangeVITest.java fails

XMLWordPrintable

    • 2d
    • generic
    • solaris

      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

            Unassigned Unassigned
            vagarwal Vikrant Agarwal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: