Description
We use this method in multiple places:
1) MessageCodeGenerator
2) BinaryContext
3) ClassesGenerator
4) GridUriDeploymentFileProcessor
The problem is that in Java 9 application class loader is not URLClassLoader, so we cannot get URLs easily. Instead typically it is BuiltinClassLoader, which refers to URLClassLoader in it's internal field ucp.
Let's refactor all usages of URLClassLoader.getURLs to some utility method, which will be able to handle both Java 7/8 and Java 9 (through reflection).
Attachments
Attachments
Issue Links
- Is contained by
-
IGNITE-6728 Support Java 9
- Resolved
- links to