This repository was archived by the owner on Nov 11, 2022. It is now read-only.
Commit 7d3e0ce
committed
Make classloader handling more compatible with JDK 9
From
http://www.oracle.com/technetwork/java/javase/9-relnote-issues-3704069.html:
The application class loader is no longer an instance of
java.net.URLClassLoader (an implementation detail that was never
specified in previous releases). Code that assumes that
ClassLoader::getSytemClassLoader returns a URLClassLoader object will
need to be updated. Note that Java SE and the JDK do not provide an API
for applications or libraries to dynamically augment the class path at
run-time.1 parent 85556d0 commit 7d3e0ce
File tree
1 file changed
+6
-0
lines changed- sdk/src/main/java/com/google/cloud/dataflow/sdk/runners
1 file changed
+6
-0
lines changedLines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| 139 | + | |
| 140 | + | |
139 | 141 | | |
140 | 142 | | |
141 | 143 | | |
| |||
3198 | 3200 | | |
3199 | 3201 | | |
3200 | 3202 | | |
| 3203 | + | |
| 3204 | + | |
| 3205 | + | |
| 3206 | + | |
3201 | 3207 | | |
3202 | 3208 | | |
3203 | 3209 | | |
| |||
0 commit comments