harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Qiu (JIRA)" <j...@apache.org>
Subject [jira] Created: (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 08:44:15 GMT
[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.


Mime
View raw message