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

multiscreen test failed in win2000

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.3.1
    • 1.3.0, 1.4.0
    • client-libs
    • None
    • beta
    • generic
    • windows_2000
    • Verified

      *Run the test attached, when the primary monitor use 256 color (which happen to return 2 graphicsConfigurations from the testing machine )and the second monitor use 24 bit color, the following exceptions were thrown:
      java.lang.ArrayIndexOutOfBoundsException
              at java.awt.image.ComponentColorModel.getDataElements(ComponentColorMode
      l.java:910)
              at sun.java2d.loops.TextRendering.toIndexed(TextRendering.java:243)
              at sun.java2d.loops.drawStringIndexed.DrawString(TextRendering.java:2786
      )
              at sun.java2d.loops.RasterOutputManager.drawString(RasterOutputManager.j
      ava:2927)
              at sun.java2d.SunGraphics2D.drawString(SunGraphics2D.java:2245)
              at GCCanvas.paint(ScreenTest.java:150)
              at sun.awt.RepaintArea.paint(RepaintArea.java:298)
              at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:193)
              at java.awt.Component.dispatchEventImpl(Component.java:2665)
              at java.awt.Component.dispatchEvent(Component.java:2499)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:319)
              at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:10
      3)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
              at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)

              at java.awt.EventDispatchThread.pumpOneEvent(Unknown Source)
              at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
              at java.awt.EventDispatchThread.run(Unknown Source)

      * when the primary monitor use 16 bit color or higher ( 6 gc in the testing machine ) and the scond or the third monitor use 256 color( 2 gc ), the following hotspot error are thrown, application terminate.
      #
      # HotSpot Virtual Machine Error, EXCEPTION_ACCESS_VIOLATION
      #
      # Error ID: 4F533F57494E13120E43505002BE
      #

      * On win98, it is a pass. When using 256 color on the primary or the scecond monitor, since there is a bug that make win98 just return one gc, there is no exception or crash.

            bchristi Brent Christian
            jdusunw Jeanne Du (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: