Re: [ANN] [org.clojure/java.classpath "0.3.0"] with Java 9 support

2018-05-07 Thread Bozhidar Batsov
Thanks!

On 6 May 2018 at 21:02, Stuart Sierra  wrote:

> https://github.com/clojure/java.classpath - utility functions to
> search the Java classpath.
>
> Build #339  is
> complete, should be sync'd with the
> Maven Central repository soon.
>
> Release 0.3.0:
>
> * Fix [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]
>  and
> [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:
>
> 
>   org.clojure
>   java.classpath
>   0.3.0
> 
>
> 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.


[ANN] [org.clojure/java.classpath "0.3.0"] with Java 9 support

2018-05-06 Thread Stuart Sierra
https://github.com/clojure/java.classpath - utility functions to
search the Java classpath.

Build #339  is complete, 
should be sync'd with the
Maven Central repository soon.

Release 0.3.0:

* Fix [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] 
 and
[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:


  org.clojure
  java.classpath
  0.3.0


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.