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

Update image enumeration code for later JDK versions #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jdstroy
Copy link

@jdstroy jdstroy commented Sep 16, 2023

The image enumeration code relies on internal behavior of JPCApplication.class.getClassLoader() returning a URLClassLoader.

I've added code which does this in a safer way which doesn't assume that a URLClassLoader is returned, but the current mechanism remains. I recommend testing the new implementation on supported platforms for JPC, and removing the need to cast to URLClassLoader

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