Extending java.base module
michael.rasmussen at zeroturnaround.com
Wed Feb 15 12:57:10 UTC 2017
> E.g. if I need to register/reach my service already at the early stages of
> JVM initialization, e.g. when a class java.lang.Thread gets initialized,
> can I assume a service from my extension module would be available?
No. At that time only java.base classes can be loaded.
If you look at the comments in the initPhase# methods in System, it gives
some good info about when things are initialized.
More information about the jigsaw-dev