[Bug 752] New: ImageFormatException extends Exception not RuntimeException

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Tue Jul 5 12:28:03 PDT 2011


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=752

           Summary: ImageFormatException extends Exception not
                    RuntimeException
           Product: IcedTea
           Version: 6-hg
          Platform: 64-bit
               URL: https://bugs.launchpad.net/ubuntu/+source/batik/+bug/800
                    082
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: IcedTea6
        AssignedTo: unassigned at icedtea.classpath.org
        ReportedBy: james.page at ubuntu.com


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.


-- 
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the distro-pkg-dev mailing list