harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesse Wilson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-6385) EnumSet.complimentOf broken for enums of cardinality 64, 128, 192, etc.
Date Tue, 08 Dec 2009 18:46:18 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-6385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12787643#action_12787643
] 

Jesse Wilson commented on HARMONY-6385:
---------------------------------------

I got the description slightly wrong; it's only broken for EnumSets greater than size 64.
Try an enum with 128 or 192 elements. I've got some time to work on Harmony today, so I'll
take care of applying this and the other collection patches I submitted during code freeze.

> EnumSet.complimentOf broken for enums of cardinality 64, 128, 192, etc.
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-6385
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6385
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: SVN Revision: 883538
>            Reporter: Jesse Wilson
>            Assignee: Jesse Wilson
>            Priority: Minor
>         Attachments: complimentof.patch
>
>
> complimentOf() throws a runtime exception when the enum cardinality divides 64 evenly.
Fix attached.

-- 
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