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

App and boot classloaders have changed Java 9 #3

Open
tobias opened this issue Nov 22, 2016 · 0 comments
Open

App and boot classloaders have changed Java 9 #3

tobias opened this issue Nov 22, 2016 · 0 comments

Comments

@tobias
Copy link
Owner

tobias commented Nov 22, 2016

The boot classloader used to be sun.misc.Launcher, but it has been renamed. This may impact any code that walks the classloader tree with the assumption that sun.misc.Launcher exists.

This will definitely cause any project that uses a dynapath less than 0.2.4 to fail to load, since it made that assumption. And any project that uses dynapath less than 0.2.5 may fail under Java 9 when AOT'd, and will get an exception when trying to modify a URLClassLoader as of Java 9-ea+148.

The app classloader is no longer a URLClassLoader, so any code that assumes it is will fail.

These dynapath issues affect:

The app classloader changes affect:

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