harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Ellison (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-3710) [classlib][archive] java.util.zip.Adler32.updateByteImpl(int val, long adler1) return wrong value in big-endian platform
Date Fri, 20 Apr 2007 21:54:15 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-3710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tim Ellison resolved HARMONY-3710.
----------------------------------

    Resolution: Fixed

Thanks Sean.

Patch applied to ARCHIVE modue at repo revision r530933.

Please check it was applied as you expected.


> [classlib][archive] java.util.zip.Adler32.updateByteImpl(int val, long adler1) return
wrong value in big-endian platform
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3710
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3710
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: PPC 64bit
>            Reporter: Sean Qiu
>         Assigned To: Tim Ellison
>         Attachments: Harmony-3710.diff
>
>
> The current implementation address an int value to get Bytef value.
> (Bytef *) (&val)   //val is an jint
> It works in little-endian platform, but  it will get wrong value in big-endian planform.

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


Mime
View raw message