[jboss-jira] [JBoss JIRA] (WFLY-1485) org.wildfly.clustering.web.infinispan.CacheMutatorTestCase failing

Frank Langelage (JIRA) jira-events at lists.jboss.org
Sun Jun 9 13:22:54 EDT 2013


Frank Langelage created WFLY-1485:
-------------------------------------

             Summary: org.wildfly.clustering.web.infinispan.CacheMutatorTestCase failing
                 Key: WFLY-1485
                 URL: https://issues.jboss.org/browse/WFLY-1485
             Project: WildFly
          Issue Type: Bug
          Components: Clustering
    Affects Versions: 8.0.0.Alpha2
            Reporter: Frank Langelage
            Assignee: Paul Ferraro


-------------------------------------------------------------------------------
Test set: org.wildfly.clustering.web.infinispan.CacheMutatorTestCase
-------------------------------------------------------------------------------
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.054 sec <<< FAILURE!
isMutable(org.wildfly.clustering.web.infinispan.CacheMutatorTestCase)  Time elapsed: 0.034 sec  <<< ERROR!
java.lang.IllegalArgumentException
        at java.util.Currency.getInstance(Currency.java:361)
        at org.wildfly.clustering.web.infinispan.CacheMutatorTestCase.isMutable(CacheMutatorTestCase.java:71)
        assertFalse(CacheMutator.isMutable(Currency.getInstance(Locale.getDefault())));

The default locale can be defined by different things. In my case default locale is 'en'.
Currency.getInstance does not like this Locale as this seems not to be linked to a country.

I think it's better to use a defined Locale here like Locale.GERMANY.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list