[jbosscache-issues] [JBoss JIRA] (JBCACHE-496) Map does support key values that are not String

Scott Marlow (JIRA) jira-events at lists.jboss.org
Mon Aug 6 16:24:07 EDT 2012


     [ https://issues.jboss.org/browse/JBCACHE-496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Marlow reassigned JBCACHE-496:
------------------------------------

    Assignee: Scott Marlow  (was: Scott Marlow (Novell))

    
> Map does support key values that are not String
> -----------------------------------------------
>
>                 Key: JBCACHE-496
>                 URL: https://issues.jboss.org/browse/JBCACHE-496
>             Project: JBoss Cache
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Legacy POJO Cache 
>    Affects Versions: 1.2.4SP1
>         Environment: Suse Linux
>            Reporter: Scott Marlow (Novell)
>            Assignee: Scott Marlow
>             Fix For: 1.3.0.GA
>
>
>   Map hobbies = ...;  // obtained from cache;
>    public void testLongValue() throws Throwable {
>       Long val = new Long("8225676592564383");
>       hobbies.put(val, "prateek");
>       // the following two calls will fail
>       assertTrue(hobbies.containsKey(val));
>       assertTrue(hobbies.get(val).equals("prateek"));
>    }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosscache-issues mailing list