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

unix: java2d test PngTest fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Not an Issue
    • Affects Version/s: 1.3.0
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
      2d
    • CPU:
      x86
    • OS:
      linux

      Description



      Name: iaR10016 Date: 06/01/2000



      JDK version:
      java version "1.3.0beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0beta-b07)
      Java HotSpot(TM) Client VM (build 1.3.0beta-b04, mixed mode)

      Test PngTest from java2d testsuite
      (/net/sqesvr/export/disk1/2d_ws/java2d/Testing/Java2D/PNG/PngTest/PngTest.sh)
      fails on Linux JDK 1.3 and on Solaris JDK 1.3.
      The test passes on JDK 1.2.2.

      When paint(Graphics) method is executed for the image from PngSuite/x00n0g01.png file,
      the picture is repainted normally, but the following error message appears in the
      system output:

      sun.awt.image.PNGImageDecoder$PNGException: bogus IHDR
              at sun.awt.image.PNGImageDecoder.handleChunk(PNGImageDecoder.java:162)
              at sun.awt.image.PNGImageDecoder.getData(PNGImageDecoder.java:731)
              at sun.awt.image.PNGImageDecoder.produceImage(PNGImageDecoder.java:252)
              at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:257)
              at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:217)
              at sun.awt.image.ImageFetcher.run(ImageFetcher.java:185)

      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              irasunw Ira Ira (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: