]
Galder Zamarreño commented on ISPN-7710:
----------------------------------------
The reason why this is useful to do is to be able to run server tasks that rely on caches
with non-primitive types.
CompatibilityProtoStreamMarshaller can't be set in server
---------------------------------------------------------
Key: ISPN-7710
URL:
https://issues.jboss.org/browse/ISPN-7710
Project: Infinispan
Issue Type: Bug
Components: Server
Affects Versions: 9.0.0.Final
Reporter: Galder Zamarreño
Out of the box, it's impossible to set compatibility marshaller to
{{org.infinispan.query.remote.CompatibilityProtoStreamMarshaller}} in server because
{{org.infinispan.main}} classloader can't access that class.
As [~dan.berindei] suggested in the mailing list, one way to avoid these kind of issues
would be to allow class definitions to have {{slot:module:class}} format so that using the
ModularClassResolver any class can be found.