Thanks! On 6 May 2018 at 21:02, Stuart Sierra <the.stuart.sie...@gmail.com> wrote:
> https://github.com/clojure/java.classpath - utility functions to > search the Java classpath. > > Build #339 <https://build.clojure.org/job/java.classpath/339/> is > complete, should be sync'd with the > Maven Central repository soon. > > Release 0.3.0: > > * Fix [CLASSPATH-8 <https://dev.clojure.org/jira/browse/CLASSPATH-8>]: > empty classpath returned on Java 9. > > Starting with Java 9, the default class loader is no longer an > instance of URLClassLoader, so `classpath` returned an empty sequence. > The strategy of using URLClassLoader started with release [0.2.0] to > accommodate Java application containers (see [CLASSPATH-1] > <https://dev.clojure.org/jira/browse/CLASSPATH-1> and > [CLASSPATH-2 <https://dev.clojure.org/jira/browse/CLASSPATH-2>]). After > this change, application containers based on > URLClassLoader should still work as expected. > > On Java 9 without an application container, it appears that the > `java.class.path` system property is the only way to get the > classpath. While this is essentially a bugfix for Java 9 > compatibility, it is a change in behavior, hence the version change > from 0.2 to 0.3. > > Leiningen dependency information: > > [org.clojure/java.classpath "0.3.0"] > > Maven dependency information: > > <dependency> > <groupId>org.clojure</groupId> > <artifactId>java.classpath</artifactId> > <version>0.3.0</version> > </dependency> > > Gradle dependency information: > > compile "org.clojure:java.classpath:0.3.0" > > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.