Hi Bryan,

> Developers:
>
> I am currently working on an application that is utilizing Batik Rasterizer
> for exporting our graphic data.  I have noticed that a module used for JPEG
> exporting (specifically JPEGImageWriter in package
> org.apache.batik.ext.awt.image.codec.jpeg) uses Sun’s proprietary packages
> com.sun.*.

Right, David Wimsey has already pointed out to the specific bug your
are suffering. ;-)


> In most cases, this seems fine.  However, in a recent revision of OpenJDK
> shipped on Ubuntu systems, they have updated some interfaces to now be
> classes.  Since Sun has the disclaimer that they are allowed to change code
> located in these packages without warning, we are at the mercy of what they
> choose to do.

Please take a look at the issue. There are pointers there towards
using not only OpenJDK but also GNU ClassPath, IcedTea (which AFAIK is
the previous name of OpenJDK), etc.


> I would like to submit a patch, rewriting the module to use java.* and
> javax.* instead of com.sun*, assuming the process hasn’t already been
> started by someone else.

Patches are always welcome, thanks for considering that possibility! ;-)


> Please reply at your earliest convenience and let me know if this is still a
> maintained application, and what process you have for patch submissions.

Earliest is the problem here, as the whole committer team is pretty
overflowed and stuff isn't getting lost but is surely getting delayed
quite a bit. :-|

Yes, this is a maintained application, and no, features have not been
lately added as fast as one might want (although you have several nice
features in the bug tracker, waiting to be integrated - would you
consider helping in that as well? :-) )

The procedure is typically to report bugs and attach patches to the
bug report when possible. However in this case, I'd add that:
1. No need to report the bug, that's already done (bug 46513, as
already stated above and by David);
2. Jeremias Maerki has recently done this in the scope of FOP using
XmlGraphicsCommons. He's considering [1] doing just that to Batik as
well, but that wasn't yet possible.
3. I do also already have an untested patch in my working copy which
does more or less that, although I didn't yet attach it to the bug
report because I really wanted to check it worked (I really should
have already attach a work-in-progress patch for you to help
validating, and even to possibly help Jeremias in his effort).


> Best Regards
>
> ---------------------------
> Bryan Ash
> Software Developer
> Arris Group, Inc.
> ---------------------------

Hope this helps,
 Helder


[1] 
http://mail-archives.apache.org/mod_mbox/xmlgraphics-general/201010.mbox/browser#msg-20

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to