Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only allow URLClassLoader to be modifiable if we can access addURL
Under the latest build of Java 9 (9-ea+148), we can no longer call .setAccessible on URLClassLoader.addURL() without --add-opens on the java command line. So, we check to see if we can actually modify URLClassLoader, and extend to DynamicClasspath appropriately.
- Loading branch information