IBM J9 Java 6 bundled com.sun.imageio.plugins.jpeg.JPEGImageReader

Simple question:

Is the IBM J9 Java 6 class with package com.sun.imageio.plugins.jpeg.JPEGImageReader

exactly the same as the class with the same package / class name in the standard Sun / Oracle JRE?

(And if so, is it using the same native / JNI code?)


Background to the issue: An error report stating that a normal JPEG file could not be read due to "IIOException: Quantization table 0x01 was not defined" (which is clearly a bogus error message given the fully standard sample image).

+3


source to share


1 answer


An IBM hotfix was recently released in this area:

IV83756 - CRASH IN COM.SUN.IMAGEIO.PLUGINS.JPEG.JPEGIMAGEREADER.READIMAGE ()

http://www-01.ibm.com/support/docview.wss?uid=swg1IV83756



This is fixed in Java 6 SR16 FP30 (6.0.16.30) which was released in July 2016.

The "Failure" described in the patch header is an interrupt caused by a JNI validation failure, which is disabled by default. When JNI validation is disabled, the program will continue to run, and it is possible that an underlying problem detected by the validation could result in an unreliable image being reported here.

+2


source







All Articles