You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Ivan Volosyuk (JIRA)" <ji...@apache.org> on 2007/02/27 13:38:05 UTC
[jira] Updated: (HARMONY-3250) [drlvm][winx64]
System.out.println(.1) not works
[ https://issues.apache.org/jira/browse/HARMONY-3250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ivan Volosyuk updated HARMONY-3250:
-----------------------------------
Attachment: calling_conventions_win64.diff
Winx64 has more calling conventions differences from Linux64.
Floating and Integer arguments are counted differently.
> [drlvm][winx64] System.out.println(.1) not works
> ------------------------------------------------
>
> Key: HARMONY-3250
> URL: https://issues.apache.org/jira/browse/HARMONY-3250
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Winx64
> Reporter: Ivan Volosyuk
> Attachments: calling_conventions_win64.diff
>
>
> Simple test:
> public class Test {
> public static void main(String[] args) {
> System.out.println(.1);
> }
> }
> Output:
> Failed to import JNI NIO functions.
> Uncaught exception in main:
> java.lang.ArrayIndexOutOfBoundsException: 25
> at org.apache.harmony.luni.util.NumberConverter.freeFormat(NumberConverter.java:205)
> at org.apache.harmony.luni.util.NumberConverter.convertD(NumberConverter.java:106)
> at org.apache.harmony.luni.util.NumberConverter.convert(NumberConverter.java:49)
> at java.lang.Double.toString(Double.java:365)
> at java.lang.String.valueOf(String.java:1759)
> at java.io.PrintStream.println(PrintStream.java:543)
> at Test.main(Test.java:3)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.