You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Sean Qiu (JIRA)" <ji...@apache.org> on 2007/04/20 10:44:15 UTC
[jira] Created: (HARMONY-3710) [classlib][archive]
java.util.zip.Adler32.updateByteImpl(int val, long adler1) return wrong
value in big-endian platform
[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
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.
[jira] Resolved: (HARMONY-3710) [classlib][archive]
java.util.zip.Adler32.updateByteImpl(int val, long adler1) return wrong
value in big-endian platform
Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (HARMONY-3710) [classlib][archive]
java.util.zip.Adler32.updateByteImpl(int val, long adler1) return wrong
value in big-endian platform
Posted by "Sean Qiu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Qiu updated HARMONY-3710:
------------------------------
Attachment: Harmony-3710.diff
Would anyone try this patch ?
> [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
> 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.
[jira] Commented: (HARMONY-3710) [classlib][archive]
java.util.zip.Adler32.updateByteImpl(int val, long adler1) return wrong
value in big-endian platform
Posted by "Sean Qiu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490690 ]
Sean Qiu commented on HARMONY-3710:
-----------------------------------
Verified by Sean at the revision 530933.
Thanks very mucm, Tim.
> [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.
[jira] Closed: (HARMONY-3710) [classlib][archive]
java.util.zip.Adler32.updateByteImpl(int val, long adler1) return wrong
value in big-endian platform
Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Ellison closed HARMONY-3710.
--------------------------------
Verified by Sean
> [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.
[jira] Assigned: (HARMONY-3710) [classlib][archive]
java.util.zip.Adler32.updateByteImpl(int val, long adler1) return wrong
value in big-endian platform
Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Ellison reassigned HARMONY-3710:
------------------------------------
Assignee: Tim Ellison
> [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.