← Back to team overview

openjdk team mailing list archive

Bug#688703: icedtea-6-jre-cacao: cacao badly broken on armhf

 

Package: icedtea-6-jre-cacao
Version: 7u3-2.1.2-2
Severity: important

The following trivial test program fails with cacao on armhf

import java.math.*;

public class test {
 public static void main(String [] args) {
   System.out.println(3.0);
 }
}

root@debian:/# javac test.java
root@debian:/# java test
3.0
root@debian:/# java -cacao test
Exception in thread "main" java.lang.IllegalArgumentException: disparate values
        at sun.misc.FDBigInt.quoRemIteration(FloatingDecimal.java:2795)
        at sun.misc.FloatingDecimal.dtoa(FloatingDecimal.java:833)
        at sun.misc.FloatingDecimal.<init>(FloatingDecimal.java:460)
        at java.lang.Double.toString(Double.java:196)
        at java.lang.String.valueOf(String.java:2985)
        at java.io.PrintStream.print(PrintStream.java:606)
        at java.io.PrintStream.println(PrintStream.java:745)
        at test.main(test.java:5)
root@debian:/#