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

Fullscreen suite FullScrnFlipAllGCTest test fails on WinXP

XMLWordPrintable

    • 2d
    • b73
    • x86
    • windows_xp
    • Verified

      Fullscreen suite FullScrnFlipAllGCTest test fails with D3D enabled on WinXP. The FullScrnFlipAllGCTest renders an image with text on a green background in fullscreen mode across available GraphicsConfigurations.

      The testcase is failing since Mustang B61 with the exception:

      Drawing Image
      Gc 3: sun.awt.Win32GraphicsConfig@5e5a50[dev=Win32GraphicsDevice[screen=0],pixfm
      t=4]
      java.lang.IllegalStateException: Buffers have not been created
              at sun.awt.windows.WComponentPeer.getBackBuffer(WComponentPeer.java:801)

              at java.awt.Component$FlipBufferStrategy.getBackBuffer(Component.java:35
      79)
              at java.awt.Component$FlipBufferStrategy.createBuffers(Component.java:35
      66)
              at java.awt.Component$FlipBufferStrategy.<init>(Component.java:3517)
              at java.awt.Component$FlipSubRegionBufferStrategy.<init>(Component.java:
      3986)
              at java.awt.Component.createBufferStrategy(Component.java:3418)
              at java.awt.Window.createBufferStrategy(Window.java:2773)
              at InitTemplate.createBufferStgy(InitTemplate.java:240)
              at FullScrnFlipAllGCTest.startTest(FullScrnFlipAllGCTest.java:39)
              at FullScrnFlipAllGCTest.main(FullScrnFlipAllGCTest.java:59)

      - Prior to Mustang B61, the testcase runs somewhat sluggish in D3D mode as the background appears all white briefly before rendering (when cycling through the GCs). This problem is not seen if the flag -Dsun.java2d.d3d=false is used.

      - This failure was found during Mustang beta milestone testing
      - Attaching testcase to this bug report
      - Filing the bug as high priority as it is a Mustang regression (from 1.5 release)

      Steps to reproduce
      ==================
      - On WinXP, set JAVA_HOME to Mustang build
      - Compile and run the java sources
      %JAVA_HOME%\bin\java FullScrnFlipAllGCTest

      If Mustang build used is B61 or later, observe IllegalStateException, if earlier build, observe white (blank) background prior to rendering
      The exception is reproducible with and w/o D3D pipeline enabled.

            tdv Dmitri Trembovetski (Inactive)
            rreynagasunw Rick Reynaga (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: