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

JSR107 Caching.getDefaultClassLoader() VS EHCache ClassLoading.getDefaultClassLoader() #3252

Open
milgner opened this issue Nov 30, 2024 · 0 comments

Comments

@milgner
Copy link

milgner commented Nov 30, 2024

Working on an issue to integrate Hibernate with EHCache when using a custom ClassLoader, I found that while one can use the JSR107 API to set a default classloader via Caching.setDefaultClassLoader, there are some cases when EHCache won't pick up on it because its implementation of ClassLoading.getDefaultClassLoader() isn't integrated with that part of the JSR107 API.

I'm quite hesitant to just build a patch to change this as I'm not at all familiar with the code base and the reasons why everything is built as it is. The chance for some heavy fallout from such a change seems very high. Nonetheless, it makes solving the issue with Hibernate integration just a bit harder.

Any comments & ideas welcome.

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

No branches or pull requests

1 participant