RFR: JDK-8299025: BMPImageReader.java readColorPalette could use staggeredReadByteStream

SWinxy duke at openjdk.org
Tue Dec 20 16:42:49 UTC 2022


On Mon, 19 Dec 2022 13:49:18 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> 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.

Marked as reviewed by SWinxy at github.com (no known OpenJDK username).

-------------

PR: https://git.openjdk.org/jdk/pull/11720



More information about the client-libs-dev mailing list