[infinispan-issues] [JBoss JIRA] (ISPN-7591) Add org.hibernate.cache to externally marshallable white list
Galder Zamarreño (JIRA)
issues at jboss.org
Fri Mar 10 05:20:00 EST 2017
[ https://issues.jboss.org/browse/ISPN-7591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on ISPN-7591 started by Galder Zamarreño.
----------------------------------------------
> Add org.hibernate.cache to externally marshallable white list
> -------------------------------------------------------------
>
> Key: ISPN-7591
> URL: https://issues.jboss.org/browse/ISPN-7591
> Project: Infinispan
> Issue Type: Bug
> Components: Core, Marshalling
> Affects Versions: 9.0.0.CR3
> Reporter: Galder Zamarreño
> Assignee: Galder Zamarreño
> Fix For: 9.0.0.Final
>
>
> While running 2LC tests I've discovered that some tests fail with:
> {code}Caused by: java.lang.AssertionError: Check support for: class org.hibernate.cache.spi.entry.StandardCacheEntryImpl
> at org.infinispan.marshall.core.GlobalMarshaller.writeUnknown(GlobalMarshaller.java:596)
> {code}
> So, {{org.hibernate.cache.spi.entry.StandardCacheEntryImpl}} is relying on standard serialization. The problem is that this class does not belong to hibernate-infinispan module and hence cannot be made to extend Infinispan's ExternalPojo.
> On the other hand, the white list in ExternallyMarshallable is hardcoded but there are no plans to make this declaratively configurable for now, since the separation between internal and external marshaller will eventually disappear in favour of internal vs user marshaller.
> So, the easiest thing to do here would be to add {{org.hibernate.cache}} package to the white list.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the infinispan-issues
mailing list