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

BMPImageReader.java readColorPalette could use staggeredReadByteStream

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 11, 17, 19, 20, 21
    • 21
    • client-libs
    • None
    • b03
    • generic
    • generic

    Description

      Looks like the coding in jdk/src/java.desktop/share/classes/com/sun/imageio/plugins/bmp/BMPImageReader.java readColorPalette is rather close to what staggeredReadByteStream does, so we could instead use staggeredReadByteStream and do not duplicate the coding.

      Attachments

        Issue Links

          Activity

            People

              mbaesken Matthias Baesken
              mbaesken Matthias Baesken
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: