CHANGES: Update for 0.3.0-SNAPSHOT and CLASSPATH-8
Stuart Sierra
6 years ago
0 | 0 | # java.classpath Change Log |
1 | ||
2 | ## 0.3.x series | |
3 | ||
4 | ### 0.3.0-SNAPSHOT, current development version | |
5 | ||
6 | * Fix [CLASSPATH-8]: empty classpath returned on Java 9. | |
7 | ||
8 | Starting with Java 9, the default class loader is no longer an | |
9 | instance of URLClassLoader, so `classpath` returned an empty sequence. | |
10 | The strategy of using URLClassLoader started with release [0.2.0] to | |
11 | accommodate Java application containers (see [CLASSPATH-1] and | |
12 | [CLASSPATH-2]). After this change, application containers based on | |
13 | URLClassLoader should still work as expected. | |
14 | ||
15 | On Java 9 without an application container, it appears that the | |
16 | `java.class.path` system property is the only way to get the | |
17 | classpath. While this is essentially a bugfix for Java 9 | |
18 | compatibility, it is a change in behavior, hence the version change | |
19 | from 0.2 to 0.3. | |
1 | 20 | |
2 | 21 | |
3 | 22 | ## 0.2.x series |
4 | ||
5 | Latest development version is 0.2.4-SNAPSHOT, current Git `master` branch | |
6 | 23 | |
7 | 24 | ### Release [0.2.3] on 2015-Nov-06 |
8 | 25 |