← Back to team overview

openjdk team mailing list archive

Bug#688702: icedtea-7-jre-cacao: cacao badly broken on armhf

 

Package: icedtea-7-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 java.lang.Throwable.fillInStackTrace(Throwable.java:782)
       at java.lang.Throwable.<init>(Throwable.java:265)
       at java.lang.Exception.<init>(Exception.java:66)
       at java.lang.RuntimeException.<init>(RuntimeException.java:62)
at java.lang.IllegalArgumentException.<init>(IllegalArgumentException.java:53)
       at sun.misc.FDBigInt.quoRemIteration(FloatingDecimal.java:2798)
       at sun.misc.FloatingDecimal.dtoa(FloatingDecimal.java:832)
       at sun.misc.FloatingDecimal.<init>(FloatingDecimal.java:459)
       at java.lang.Double.toString(Double.java:196)
       at java.lang.String.valueOf(String.java:3049)
       at java.io.PrintStream.print(PrintStream.java:639)
       at java.io.PrintStream.println(PrintStream.java:778)
       at test.main(test.java:5)
root@debian:/#