You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Mark Junker (JIRA)" <ji...@apache.org> on 2011/07/18 15:59:57 UTC

[jira] [Updated] (HARMONY-6685) SHA1PRNG produces less optimal results

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

Mark Junker updated HARMONY-6685:
---------------------------------

    Attachment: harmony-sha1prng-bug.patch

This is the patch that fixes the operator precedence problem.

> SHA1PRNG produces less optimal results
> --------------------------------------
>
>                 Key: HARMONY-6685
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6685
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>    Affects Versions: 6.0M3
>            Reporter: Mark Junker
>            Priority: Minor
>         Attachments: harmony-sha1prng-bug.patch
>
>
> It seems that a pair of parentheses are missing to get the correct operator precedence. I just stumbled upon this bug because SHA1PRNG produces different results on Android and on my Windows machine even though both use Apache Harmony for this part.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira