Skip to content

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

@milgner

Description

@milgner

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions