[infinispan-issues] [JBoss JIRA] (ISPN-3122) ByteArrayEquivalence cannot be configured easily via XML configuration
Galder Zamarreño (JIRA)
jira-events at lists.jboss.org
Mon May 20 12:14:06 EDT 2013
[ https://issues.jboss.org/browse/ISPN-3122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Galder Zamarreño updated ISPN-3122:
-----------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/1827
> ByteArrayEquivalence cannot be configured easily via XML configuration
> ----------------------------------------------------------------------
>
> Key: ISPN-3122
> URL: https://issues.jboss.org/browse/ISPN-3122
> Project: Infinispan
> Issue Type: Bug
> Reporter: Galder Zamarreño
> Assignee: Galder Zamarreño
> Fix For: 5.3.0.CR1
>
>
> ByteArrayEquivalence is an Enum, which cannot be instantiated via reflection. Instead, make it a class, and when we want to access the singleton for programmatic configuration, have a static final variable and access it via static factory method in ByteArrayEquivalence.
--
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 infinispan-issues
mailing list