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