Comment 3 for bug 800082

Revision history for this message
In , James Page (james-page) wrote :

Operating System:
 OS - Ubuntu Development Release - Oneiric Ocelot

java -version:
 java version "1.6.0_22"
 OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b23~pre2-0ubuntu2)
 OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)

Prior to 6b23 com.sun.image.codec.jpeg.ImageFormatException extended RuntimeException rather than Exception so it did not need to be caught or declared as throw in code that was using this internal API.

>= 6b23 is class extends Exception - this has caused a couple of build failures in packages that use this package - see linked bug report in Ubuntu.

This change was introduced with changeset http://icedtea.classpath.org/hg/icedtea6/rev/8720a7df46e3?revcount=120

It would appear that this makes the IcedTea6 implementation API different from the original Java 1.5 API for this class.