Unexpected EOFException in ImageReaderSpi.canDecodeInput
Martin Desruisseaux
martin.desruisseaux at geomatys.com
Tue May 17 12:48:46 UTC 2022
Hello
I prepared a pull request at [1] for fixing an unexpected EOFException
thrown by ImageReaderSpi.canDecodeInput(Object) in JDK implementations
for BMP, WBMP, GIF, PNG and TIFF formats (JPEG is not impacted). This
exception occurs when the stream has less than 8 bytes. For example, it
occurs when probing all files in a directory if that directory contains
empty files.
If believe that in order to process, a bug report must be filled on
https://bugs.openjdk.java.net/ ? Can someone hint me about how to do
that (since I can not create a report myself)?
Regards,
Martin
[1]https://github.com/openjdk/jdk/pull/8700
More information about the client-libs-dev
mailing list