Your message dated Mon, 07 Apr 2008 22:29:35 +0200 with message-id <[EMAIL PROTECTED]> and subject line Re: Bug#459281: Cannot reproduce the issue has caused the Debian Bug report #459281, regarding libjfreechart-java does not work with free JVMs to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [EMAIL PROTECTED] immediately.) -- 459281: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=459281 Debian Bug Tracking System Contact [EMAIL PROTECTED] with problems
--- Begin Message ---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... Vincent PS: I unfortunately don't have a single idea about what is causing this problem. -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.22-3-amd64 (SMP w/2 CPU cores) Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1) (ignored: LC_ALL set to en_GB) Shell: /bin/sh linked to /bin/dash Versions of packages libjfreechart-java depends on: ii gij-4.2 [java2-runtime] 4.2.2-3 The GNU Java bytecode interpreter ii java-gcj-compat 1.0.77-2 Java runtime environment using GIJ ii libjcommon-java 1.0.10.dfsg-1 General Purpose library for Java ii sun-java5-jre [java2-runti 1.5.0-13-1 Sun Java(TM) Runtime Environment ( ii sun-java6-jre [java2-runti 6-03-2 Sun Java(TM) Runtime Environment ( libjfreechart-java recommends no packages. -- no debconf information// JFreeChart classes: import org.jfree.data.xy.DefaultXYDataset; import org.jfree.data.xy.XYDataset; import org.jfree.chart.plot.XYPlot; import org.jfree.chart.axis.NumberAxis; import org.jfree.chart.renderer.xy.XYAreaRenderer; import org.jfree.chart.JFreeChart; import org.jfree.chart.ChartUtilities; import java.io.File; import java.io.IOException; public class TestJFreeChart { static XYDataset prepareSet() { // First, make a 2D datatset: DefaultXYDataset set = new DefaultXYDataset(); int size = 30; double[] x = new double[size]; double[] y = new double[size]; for(int i = 0; i < size; i++) { x[i] = i; y[i] = i*i; } double[][] data = new double[2][]; data[0] = x; data[1] = y; java.lang.Integer j = new java.lang.Integer(0); set.addSeries(j, data); return set; } public static void main(String[] args) { XYDataset set = prepareSet(); XYPlot plot = new XYPlot(set, new NumberAxis("X values"), new NumberAxis("Y values"), new XYAreaRenderer()); JFreeChart chart = new JFreeChart("Nice plot", plot); try { ChartUtilities.saveChartAsPNG(new File("test.png"), chart, 400,400); } catch (IOException e) { } } }
test-charts.tar.gz
Description: GNU Zip compressed data
--- End Message ---
--- Begin Message ---Hello again, Vincent Fourmond wrote: > I'll try tonight on my home machine within various chroots. I'm pretty much puzzled, as it actually works fine in a clean amd64 sid chroot. It just refuses to work on my machines... Could it be a weird interaction with sun's java ? Cheers, Vincent, closing this bug...
--- End Message ---
_______________________________________________ pkg-java-maintainers mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers

