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

Application crashes when display images on 256 color with gc from other color dp

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • None
    • 1.4.0
    • client-libs
    • generic
    • windows_nt

      Run the test attached by typing "java CanvasTest" on windowNT, using 16 bits or higher color depth, after the images displayed, switch to 256 color without closing already displayed canvases and images, application will crash and the following exception is thrown:

      #
      # An EXCEPTION_ACCESS_VIOLATION exception has been detected in native code outside the VM.
      # Program counter=0x500839c3
      #

      By running the attached application this way, people are actually trying to display the images on the 256 color depth by using the gcs which were got from 16 bit or other color depth. Although the right result is not known, crash is not expected.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: