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

2022-12-20 Thread SWinxy
On Mon, 19 Dec 2022 13:49:18 GMT, Matthias Baesken 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

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

2022-12-20 Thread Christoph Langer
On Mon, 19 Dec 2022 13:49:18 GMT, Matthias Baesken 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

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

2022-12-19 Thread Matthias Baesken
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: -