Launchpad has imported 7 comments from the remote bug at http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=752.
If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. ------------------------------------------------------------------------ On 2011-07-05T19:28:03+00:00 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. Reply at: https://bugs.launchpad.net/ubuntu/+source/batik/+bug/800082/comments/1 ------------------------------------------------------------------------ On 2011-07-06T15:54:07+00:00 Gnu-andrew-n wrote: I'll look into fixing this. Note that the version concerned is a pre- release of IcedTea6 1.11 and not '6b23' which confused me at first (I thought you were referring to a proprietary Oracle JDK). What disturbs me is that this is not yet in a release of IcedTea6 yet, but you seem to have acquired it via an Ubuntu package. Reply at: https://bugs.launchpad.net/ubuntu/+source/batik/+bug/800082/comments/3 ------------------------------------------------------------------------ On 2011-07-06T16:08:02+00:00 James Page wrote: (In reply to comment #1) > I'll look into fixing this. Note that the version concerned is a pre-release > of IcedTea6 1.11 and not '6b23' which confused me at first (I thought you were > referring to a proprietary Oracle JDK). Thanks for looking at this and apologies for the confusion - this is probably my ignorance of how IcedTea and OpenJDK/OracleJDK related to each other - I was purely going on the version number of the Ubuntu package. > What disturbs me is that this is not yet in a release of IcedTea6 yet, but you > seem to have acquired it via an Ubuntu package. This is in the latest development release for Ubuntu; I guess that having the pre release of 1.11 helps flush out this sort of bug. Reply at: https://bugs.launchpad.net/ubuntu/+source/batik/+bug/800082/comments/5 ------------------------------------------------------------------------ On 2011-07-06T20:50:34+00:00 Gnu-andrew-n wrote: IcedTea builds a specific OpenJDK build drop with additional patches and extensions to make it usable. This ID is even more confusing because there is no b23 of OpenJDK6 yet. Both IcedTea6 1.10 and the forthcoming 1.11 are still using b22. So I don't know where this 'b23' is coming from...:-S I ran a full comparison: http://fuseyism.com/japi/jpeg-icedtea6-oracle.html and fixed up some other differences too. As far as I can tell, the exception reports in the above are either wrong or undocumented. The 1.5 docs for the package state that these exceptions are thrown. All the other issues I've fixed and I'm building the result now. Will post here once the commit is in. If this is an Ubuntu pre-release, then it's understandable but it would still be good of them to keep us in the loop. It shouldn't go out in a released Ubuntu as we only provide security updates for releases, not random snapshots. Reply at: https://bugs.launchpad.net/ubuntu/+source/batik/+bug/800082/comments/6 ------------------------------------------------------------------------ On 2011-07-06T20:51:51+00:00 Gnu-andrew-n wrote: http://fuseyism.com/japi/jpeg-oracle-icedtea6.html is the comparison the other way round (Oracle as the standard which IcedTea6 is implementing). Reply at: https://bugs.launchpad.net/ubuntu/+source/batik/+bug/800082/comments/7 ------------------------------------------------------------------------ On 2011-07-06T22:29:56+00:00 Gnu-andrew-n wrote: Fixed: http://icedtea.classpath.org/hg/icedtea6/rev/944778c61e3c Reply at: https://bugs.launchpad.net/ubuntu/+source/batik/+bug/800082/comments/8 ------------------------------------------------------------------------ On 2011-07-15T13:51:25+00:00 James Page wrote: Hi Andrew Thanks for fixing this issue; this change has now landed in the Ubuntu development release and has resolved the issues that I was having with this API. Cheers James Reply at: https://bugs.launchpad.net/ubuntu/+source/batik/+bug/800082/comments/9 -- You received this bug notification because you are a member of OpenJDK, which is subscribed to openjdk-6 in Ubuntu. https://bugs.launchpad.net/bugs/800082 Title: FTBFS against openjdk-6 6b23 due to internal Sun API changes. Status in OpenJDK: Fix Released Status in “batik” package in Ubuntu: Fix Released Status in “openjdk-6” package in Ubuntu: Fix Released Status in “xmlgraphics-commons” package in Ubuntu: Fix Released Bug description: batik makes use of internal sun(oracle) API's for creation of TIFF and JPEG images. com.sun.image.codec.jpeg.ImageFormatException prior to 6b23 extended RuntimeException which means that code does not need to throw or catch this exception; however in 6b23 this class now extends Exception which means that it now need to be caught or declared as thrown by calling code. To manage notifications about this bug go to: https://bugs.launchpad.net/openjdk/+bug/800082/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~openjdk Post to : [email protected] Unsubscribe : https://launchpad.net/~openjdk More help : https://help.launchpad.net/ListHelp

