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 12:28:06 UTC

[jira] Created: (HARMONY-3250) [drlvm][winx64] System.out.println(.1) not works

[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


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.


[jira] Resolved: (HARMONY-3250) [drlvm][winx64] System.out.println(.1) not works

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gregory Shimansky resolved HARMONY-3250.
----------------------------------------

    Resolution: Fixed

Patch applied at 512263. Please check that it was applied as expected.

> [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
>         Assigned To: Gregory Shimansky
>         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.


[jira] Updated: (HARMONY-3250) [drlvm][winx64] System.out.println(.1) not works

Posted by "Ivan Volosyuk (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ivan Volosyuk updated HARMONY-3250:
-----------------------------------

    Estimated Complexity: Moderate  (was: Unknown)
              Patch Info: [Patch Available]

> [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.


[jira] Updated: (HARMONY-3250) [drlvm][winx64] System.out.println(.1) not works

Posted by "Ivan Volosyuk (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Closed: (HARMONY-3250) [drlvm][winx64] System.out.println(.1) not works

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gregory Shimansky closed HARMONY-3250.
--------------------------------------


No response, assuming ok.

> [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
>            Assignee: Gregory Shimansky
>         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.


[jira] Commented: (HARMONY-3250) [drlvm][winx64] System.out.println(.1) not works

Posted by "Ivan Volosyuk (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-3250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476136 ] 

Ivan Volosyuk commented on HARMONY-3250:
----------------------------------------

Investigating...

> [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
>
> 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.


[jira] Assigned: (HARMONY-3250) [drlvm][winx64] System.out.println(.1) not works

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gregory Shimansky reassigned HARMONY-3250:
------------------------------------------

    Assignee: Gregory Shimansky

> [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
>         Assigned To: Gregory Shimansky
>         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.