Reg. test BytePackedRasterTest failing for 8-bit raster

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 1.4.0
    • Affects Version/s: 1.4.0
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: