Commit 92bd65c
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 87670e6 commit 92bd65c
File tree
1 file changed
+7
-0
lines changed- runners/core-construction-java/src/main/java/org/apache/beam/runners/core/construction
1 file changed
+7
-0
lines changedLines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| |||
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
40 | 47 | | |
41 | 48 | | |
42 | 49 | | |
| |||
0 commit comments