johannschenkl commented on issue #1558:
URL:
https://github.com/apache/incubator-fury/issues/1558#issuecomment-2082042546
We're self-managing Fury in a ThreadLocal, is that the issue, maybe?
`
private static final ThreadLocal<Fury> THE_FURY = ThreadLocal.withInitial(()
-> {
var fury = Fury.builder().withLanguage(Language.JAVA)
.withRefTracking(true)
.requireClassRegistration(false)
.withAsyncCompilation(true)
.suppressClassRegistrationWarnings(true) // as checker is
enabled, see below
.build();
fury.getClassResolver().setClassChecker(...);
return fury;
});`
I know there's also the ...buildThreadSafeFury/buildThreadLocalFury
implementations. But we did not see a way to register a classchecker on them.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]