You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Elena Semukhina (JIRA)" <ji...@apache.org> on 2007/02/01 15:09:05 UTC

[jira] Created: (HARMONY-3110) [drlvm][jit][x86_64] java.lang.reflect.Field.get(Object) returns incorrect value of a float field

[drlvm][jit][x86_64] java.lang.reflect.Field.get(Object) returns incorrect value of a float field
-------------------------------------------------------------------------------------------------

                 Key: HARMONY-3110
                 URL: https://issues.apache.org/jira/browse/HARMONY-3110
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
         Environment: SUSE9 linux x86_64
            Reporter: Elena Semukhina
         Attachments: FieldTest.java

DRLVM kernel test java.lang.reflect.FieldTest fails on linux x86_64 in jet/opt modes while passes in interpreter.

I attached a simple reproducer which prints

0.555 = 3.689349E19

while expected printing is 

0.555 = 0.555


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-3110) [drlvm][jit][x86_64] java.lang.reflect.Field.get(Object) returns incorrect value of a float field

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

Elena Semukhina updated HARMONY-3110:
-------------------------------------

    Attachment: FieldTest.java

> [drlvm][jit][x86_64] java.lang.reflect.Field.get(Object) returns incorrect value of a float field
> -------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3110
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3110
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: SUSE9 linux x86_64
>            Reporter: Elena Semukhina
>         Attachments: FieldTest.java
>
>
> DRLVM kernel test java.lang.reflect.FieldTest fails on linux x86_64 in jet/opt modes while passes in interpreter.
> I attached a simple reproducer which prints
> 0.555 = 3.689349E19
> while expected printing is 
> 0.555 = 0.555

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (HARMONY-3110) [drlvm][jit][x86_64] java.lang.reflect.Field.get(Object) returns incorrect value of a float field

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

Alexey Varlamov reassigned HARMONY-3110:
----------------------------------------

    Assignee: Alexey Varlamov

> [drlvm][jit][x86_64] java.lang.reflect.Field.get(Object) returns incorrect value of a float field
> -------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3110
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3110
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: SUSE9 linux x86_64
>            Reporter: Elena Semukhina
>         Assigned To: Alexey Varlamov
>         Attachments: FieldTest.java, FloatAntn.java, FloatAntnTest.java
>
>
> DRLVM kernel test java.lang.reflect.FieldTest fails on linux x86_64 in jet/opt modes while passes in interpreter.
> I attached a simple reproducer which prints
> 0.555 = 3.689349E19
> while expected printing is 
> 0.555 = 0.555

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-3110) [drlvm][jit][x86_64] java.lang.reflect.Field.get(Object) returns incorrect value of a float field

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

Elena Semukhina updated HARMONY-3110:
-------------------------------------

    Attachment: FloatAntnTest.java
                FloatAntn.java

It seems that this issue causes the failure of kernel test org.apache.harmony.lang.annotation.AllTypesTest as well.

I attached another reproducer which should print 

defaultValue = -2.0
value = 0.0

but prints

defaultValue = -2.0
value = 0.0


> [drlvm][jit][x86_64] java.lang.reflect.Field.get(Object) returns incorrect value of a float field
> -------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3110
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3110
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: SUSE9 linux x86_64
>            Reporter: Elena Semukhina
>         Attachments: FieldTest.java, FloatAntn.java, FloatAntnTest.java
>
>
> DRLVM kernel test java.lang.reflect.FieldTest fails on linux x86_64 in jet/opt modes while passes in interpreter.
> I attached a simple reproducer which prints
> 0.555 = 3.689349E19
> while expected printing is 
> 0.555 = 0.555

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HARMONY-3110) [drlvm][jit][x86_64] java.lang.reflect.Field.get(Object) returns incorrect value of a float field

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

Alexey Varlamov resolved HARMONY-3110.
--------------------------------------

    Resolution: Fixed

Pavel, thanks for reviewing - surely, usually I clean patches before commit.
Applied at r521703

> [drlvm][jit][x86_64] java.lang.reflect.Field.get(Object) returns incorrect value of a float field
> -------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3110
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3110
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: SUSE9 linux x86_64
>            Reporter: Elena Semukhina
>         Assigned To: Alexey Varlamov
>         Attachments: FieldTest.java, FloatAntn.java, FloatAntnTest.java, H3110-fix.patch, H3110-regtest.patch
>
>
> DRLVM kernel test java.lang.reflect.FieldTest fails on linux x86_64 in jet/opt modes while passes in interpreter.
> I attached a simple reproducer which prints
> 0.555 = 3.689349E19
> while expected printing is 
> 0.555 = 0.555

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-3110) [drlvm][jit][x86_64] java.lang.reflect.Field.get(Object) returns incorrect value of a float field

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

Igor V Chebykin updated HARMONY-3110:
-------------------------------------

    Attachment: H3110-regtest.patch

The regression test added:
H3110-regtest.patch

> [drlvm][jit][x86_64] java.lang.reflect.Field.get(Object) returns incorrect value of a float field
> -------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3110
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3110
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: SUSE9 linux x86_64
>            Reporter: Elena Semukhina
>         Assigned To: Alexey Varlamov
>         Attachments: FieldTest.java, FloatAntn.java, FloatAntnTest.java, H3110-regtest.patch
>
>
> DRLVM kernel test java.lang.reflect.FieldTest fails on linux x86_64 in jet/opt modes while passes in interpreter.
> I attached a simple reproducer which prints
> 0.555 = 3.689349E19
> while expected printing is 
> 0.555 = 0.555

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-3110) [drlvm][jit][x86_64] java.lang.reflect.Field.get(Object) returns incorrect value of a float field

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

Igor V Chebykin updated HARMONY-3110:
-------------------------------------

    Attachment: H3110-fix.patch

The fix is submitted:
    H3110-fix.patch

> [drlvm][jit][x86_64] java.lang.reflect.Field.get(Object) returns incorrect value of a float field
> -------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3110
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3110
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: SUSE9 linux x86_64
>            Reporter: Elena Semukhina
>         Assigned To: Alexey Varlamov
>         Attachments: FieldTest.java, FloatAntn.java, FloatAntnTest.java, H3110-fix.patch, H3110-regtest.patch
>
>
> DRLVM kernel test java.lang.reflect.FieldTest fails on linux x86_64 in jet/opt modes while passes in interpreter.
> I attached a simple reproducer which prints
> 0.555 = 3.689349E19
> while expected printing is 
> 0.555 = 0.555

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-3110) [drlvm][jit][x86_64] java.lang.reflect.Field.get(Object) returns incorrect value of a float field

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

Elena Semukhina commented on HARMONY-3110:
------------------------------------------

The typo above:

The test should print 

defaultValue = 213235.34
value = 213235.34


> [drlvm][jit][x86_64] java.lang.reflect.Field.get(Object) returns incorrect value of a float field
> -------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3110
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3110
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: SUSE9 linux x86_64
>            Reporter: Elena Semukhina
>         Attachments: FieldTest.java, FloatAntn.java, FloatAntnTest.java
>
>
> DRLVM kernel test java.lang.reflect.FieldTest fails on linux x86_64 in jet/opt modes while passes in interpreter.
> I attached a simple reproducer which prints
> 0.555 = 3.689349E19
> while expected printing is 
> 0.555 = 0.555

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-3110) [drlvm][jit][x86_64] java.lang.reflect.Field.get(Object) returns incorrect value of a float field

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

Pavel Ozhdikhin commented on HARMONY-3110:
------------------------------------------

Please wipe the commented lines from the patch when committing this.

> [drlvm][jit][x86_64] java.lang.reflect.Field.get(Object) returns incorrect value of a float field
> -------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3110
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3110
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: SUSE9 linux x86_64
>            Reporter: Elena Semukhina
>         Assigned To: Alexey Varlamov
>         Attachments: FieldTest.java, FloatAntn.java, FloatAntnTest.java, H3110-fix.patch, H3110-regtest.patch
>
>
> DRLVM kernel test java.lang.reflect.FieldTest fails on linux x86_64 in jet/opt modes while passes in interpreter.
> I attached a simple reproducer which prints
> 0.555 = 3.689349E19
> while expected printing is 
> 0.555 = 0.555

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.