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

Workaround for problems with java.classpath/classpath on java 9 #104

Merged
merged 1 commit into from
Jan 10, 2018

Conversation

cdorrat
Copy link

@cdorrat cdorrat commented Dec 5, 2017

In java 9 the java application and bootstrap classpath loaders are no longer subclasses of URLClassLoader. As a result the java.classpath/classpath function (used to scan for migrations in the classpath) returns an empty list.

This pull request works around the issue by using java.classpath/system-classpath (based on the java classpath property) to find directories / jars to scan.

@jonpither jonpither merged commit 9a16a8b into juxt:master Jan 10, 2018
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.

3 participants