Layer questions
Alan Bateman
Alan.Bateman at oracle.com
Wed Aug 17 07:36:03 UTC 2016
On 08/08/2016 22:51, Paul Benedict wrote:
> Dear Jigsaw Experts,
>
> I have a few questions on layers:
>
> 1) True of False: Except for the Boot Layer, every Layer must have a parent
> Layer?
Correct, as stated in the javadoc.
>
> 2) Is there any API to enumerate the Layer instances in the JVM?
>
>
Not specifically but easy to get when using the tooling APIs
(java.lang.instrument or JVM TI) because they already allow you to
enumerate the loaded classes and/or modules.
-Alan.
More information about the jigsaw-dev
mailing list