You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "toby cabot (JIRA)" <ji...@apache.org> on 2008/02/07 20:43:12 UTC

[jira] Updated: (GERONIMO-3830) GeronimoPropertiesFileMappedPasswordCredentialLoginModuleTest assumes a specific Set ordering

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

toby cabot updated GERONIMO-3830:
---------------------------------

    Attachment: sec-unittest-diff.txt

Patch to use a TreeSet so the Iterator can be counted on to iterate over the contents in a specific order.


> GeronimoPropertiesFileMappedPasswordCredentialLoginModuleTest assumes a specific Set ordering
> ---------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-3830
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3830
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: security
>    Affects Versions: 2.0.2
>         Environment: Java 1.6
> Fedora 8
>            Reporter: toby cabot
>            Priority: Minor
>         Attachments: sec-unittest-diff.txt
>
>
> GeronimoPropertiesFileMappedPasswordCredentialLoginModuleTest fails with Java 1.6 because it assumes that an Iterator over a Set will have a specific ordering.  Evidently Java 1.6's HashSet is different enough than 1.5's that it orders its contents differently.

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