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

Issue #1800 - Fix generic class loading #1831

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dmalch
Copy link

@dmalch dmalch commented Jul 17, 2018

I found out that for generic classes declared in nested jars of a Spring Boot application a class not found exception is thrown from the ClassReader constructor. The root cause was that the class ClassReader from ASM uses ClassLoader.getSystemResourceAsStream() method, which doesn't see the class file. A possible fix would be to load the class bytes independently and provide them to ClassReader.

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 this pull request may close these issues.

1 participant