Hello guys,
Switching from Wildfly 30 to 36 we've discovered some real unpleasant surprise. Our local off-heap cache stopped working. Very simple configuration:
<cache-container name="miracle">
<local-cache name="returns">
<off-heap-memory size="10000000"/>
<expiration lifespan="864000000"/>
</local-cache>
</cache-container>
Attempt to store an object with String key and ArrayList value now throws this exception:
org.infinispan.commons.CacheException: class [B cannot be cast to class org.infinispan.commons.marshall.WrappedBytes ([B is in module java.base of loader 'bootstrap'; org.infinispan.commons.marshall.WrappedBytes is in unnamed module of loader 'org.infinis...@15.1.7.Final' @2d34520e)
Does anyone have any clue how to fix this? It looks like the "JBOSS" marshaller had stopped working, but documentation is scarce and we could not find anything in the release notes about any breaking changes.