RFR: JDK-8299025: BMPImageReader.java readColorPalette could use staggeredReadByteStream
Matthias Baesken
mbaesken at openjdk.org
Mon Dec 19 13:56:31 UTC 2022
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.
-------------
Commit messages:
- JDK-8299025
Changes: https://git.openjdk.org/jdk/pull/11720/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11720&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8299025
Stats: 24 lines in 1 file changed: 0 ins; 23 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/11720.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/11720/head:pull/11720
PR: https://git.openjdk.org/jdk/pull/11720
More information about the client-libs-dev
mailing list