Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClusterExternalizableUtil ignores provided ClassLoader instances #81

Open
guusdk opened this issue Dec 7, 2021 · 0 comments · May be fixed by #82
Open

ClusterExternalizableUtil ignores provided ClassLoader instances #81

guusdk opened this issue Dec 7, 2021 · 0 comments · May be fixed by #82
Assignees

Comments

@guusdk
Copy link
Member

guusdk commented Dec 7, 2021

The ClusterExternalizableUtil class is the strategy implementation for the ExternalizableUtil class.

This class has various methods that read data. The method accepts a Classloader instance to be provided, from which the data is read. The current implementation ignores the provided class loader, and instead uses either the Hazelcast-plugin classloader, or the context class loader from the thread that is invoking the method.

Note that this issue is very similar to https://igniterealtime.atlassian.net/browse/OF-2350, which describes the same issue in the DefaultExternalizableUtil class.

guusdk added a commit to guusdk/openfire-hazelcast-plugin that referenced this issue Dec 7, 2021
When a ClassLoader instance is provided (when reading data), this instance should actually be used.

fixes igniterealtime#81
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants