On Mon, 19 Dec 2022 13:49:18 GMT, Matthias Baesken <mbaes...@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. This pull request has now been integrated. Changeset: f36e1449 Author: Matthias Baesken <mbaes...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/f36e144923da431a9c47faf5ae6577714fcf3adf Stats: 24 lines in 1 file changed: 0 ins; 23 del; 1 mod 8299025: BMPImageReader.java readColorPalette could use staggeredReadByteStream Reviewed-by: clanger ------------- PR: https://git.openjdk.org/jdk/pull/11720