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

Reg. test BytePackedRasterTest failing for 8-bit raster

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.4.0
    • client-libs
    • None
    • 2d
    • rc1
    • generic
    • generic

      The regression test test/sun/awt/image/RasterTester/BytePackedRasterTest
      attempts to create 1, 2, 4, and 8-bit BytePackedRasters. This raster type
      was restricted to 1, 2, and 4-bit rasters only in Merlin (RFE 4425264).
      Therefore, the following exception is produced when trying to construct an
      8-bit raster:

      Exception in thread "main" java.awt.image.RasterFormatException: BytePackedRasters must have a bit depth of 1, 2, or 4
              at sun.awt.image.BytePackedRaster.<init>(BytePackedRaster.java:164)
              at sun.awt.image.BytePackedRaster.<init>(BytePackedRaster.java:80)
              at BytePackedRasterUnitTest.<init>(BytePackedRasterTest.java:23)
              at BytePackedRasterTest.<init>(BytePackedRasterTest.java:93)
              at BytePackedRasterTest.main(BytePackedRasterTest.java:114)

      BytePackedRasterTest should be updated appropriately.

            campbell Christopher Campbell (Inactive)
            campbell Christopher Campbell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: