Bug#459281: libjfreechart-java does not work with free JVMs

Michael Koch konqueror at gmx.de
Sun Jan 6 00:19:59 UTC 2008


On Sat, Jan 05, 2008 at 10:29:47AM +0100, Vincent Fourmond wrote:
> Package: libjfreechart-java
> Version: 1.0.9-1
> Severity: serious
> 
>   Hello,
> 
>   Unfortunately, unlike what is said in the changelog,
> libjfreechart-java does not work with free JVM available. As I proof,
> I joined a test case, TestJFreeChart.java. I compiled it with gcj:
> 
> /usr/lib/jvm/java-gcj/bin/javac -classpath /usr/share/java/jfreechart.jar:/usr/share/java/jcommon.jar TestJFreeChart.java
> 
>   I run it with different runtimes using commands in the spirit of:
> 
> /usr/lib/jvm/java-1.5.0-sun/bin/java -classpath /usr/share/java/jcommon.jar:/usr/share/java/jfreechart.jar:. TestJFreeChart
> 
>   The runtimes never complain about anything going
> wrong. Unfortunately, when I look at the test.png files produced with
> free runtimes (cacao, gcj-compat, kaffe), the PNG files are empty,
> while they do display nice charts for the two runs with sun's jre.
> 
>   It seems libjfreechart-java will probably have to go back to
> contrib, as this bug is rather serious - if not grave (it simply
> cannot run properly in main).
> 
>   Sorry to bring bad news...

I can reproduce the bug. Thats kind of strange as the author of
jfreechart did some nice graphics with it running on a classpath based
VM as he is a GNU classpath submitter too. It all looked fine. He also
did several runs with statcvs and submitted patches to statcvs to make
it work with free runtimes.

I think this just a small issue in GNU classpath that can be easily fixed.
Can you please file a bug with testcase into GNU classpath bugzilla?


Cheers,
Michael





More information about the pkg-java-maintainers mailing list