clojure-java-9
clojure-java-9 copied to clipboard
A clearinghouse for Clojure issues related to Java 9
Calls to static interface methods compile on Java 8 but not on Java 9 because of a new bytecode restrictrion. ```java public interface JDK8InterfaceMethods { // cannot call either of...
The `java.xml.bind` package is deprecated in Java 9 and not included in the default classpath. Code which tries to use classes under `java.xml.bind.*` will throw ClassNotFoundException. For example, from clavatar:...
`sun.boot.class.path` and `java.ext.dirs` were removed on JDK 9 and hence using them in `(System/getProperty)` call will return nil > The boot class path has been mostly removed in this release....
> In JDK 9 the package javax.activation is not accessible by default and should be explicitly granted with --add-modules java.activation on compile time. Also, it is deprecated and marked for...
See https://dev.clojure.org/jira/browse/CLASSPATH-8
See http://dev.clojure.org/jira/browse/CLJ-2066
Not all of the java standard library is available to the boot classloader, which prevents Clojure from loading if put on the boot classpath. This manifests as a failure to...
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...
As of 9-ea+148, you can no longer `.setAccessible` on private/protected methods if the class isn't in a package that has been opened to the application's module. The workaround is to...