Infinispan Extension Classloader #34501
Unanswered
amoscatelli
asked this question in
Q&A
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there !
I am trying to integrate the infinispan extension with Quarkus JNoSQL extension.
I need only one final bit, one last problem I can't solve on my own ....
Whenever I call this :
Then value.getClass().getClassLoader() is not QuarkusClassLoader, but ClassLoader$AppClassLoader.
At the same time the "destination" type (the one I need to deserialize to) classloader is indeed QuarkusClassLoader :
Then JNoSQL breaks because instanceof or isInstance predicates fail.
I am no expert in infinispan, this got a lot more harder than I expected so please can somebody give me some insight ?
I am using this configuration :
Also I am adding my class to the AllowList like this :
Thank you in advance
Beta Was this translation helpful? Give feedback.
All reactions