update to dynapath 0.2.5 (0.2.4 was broken when AOT'd under < Java 9,
but used under Java 9)
conditionally seal the AppClassLoader if it is available (it isn't
under Java 9)
seal the new ParentClassLoader from boot-bin
use a URLClassLoader subclass that exposes .addURL so it can be
modified (we can't call .setAccessible on URLClassLoader.addURL by
default under Java 9) as the highest loader in the shim
I should mention that with these changes + PR4, boot works for me under Java 9-ea+148, but I haven't tried anything fancy with it, just starting a repl.
Changes include:
This is part of the fix; https://github.com/boot-clj/boot-bin/pull/4 is the other half. These changes shouldn't break users using a
boot.sh
without PR4.Let me know if this (or the approach in PR4) aren't appropriate, and I'm happy to discuss more here or on slack.