Proposal: #NonHierarchicalLayers

mark.reinhold at oracle.com mark.reinhold at oracle.com
Mon Feb 13 18:18:18 UTC 2017


2017/1/30 7:13:31 -0800, david.lloyd at redhat.com:
> On 01/26/2017 04:34 PM, mark.reinhold at oracle.com wrote:
>> ...
>> 
>> If not, then adding the above methods won't help you anyway.  They only
>> affect the run-time state of modules, i.e., the state known to the JVM
>> and surfaced in `java.lang.reflect.Module`.  The JPMS resolver doesn't
>> read the run-time state but, rather, the configurations computed by
>> earlier invocations of the resolver, and ultimately those are all based
>> on module descriptors, over in the `java.lang.module` package.
> 
> Currently the prototype code does not use the JPMS resolver.  From my 
> understanding, the JVM tables mediate access control, but the actual 
> linkage between classes at run time happens via 
> java.lang.ClassLoader#findClass(java.lang.String, java.lang.String).  As 
> long as this method resolves

Did you mean to say more here?  Was your reply somehow truncated?

- Mark


More information about the jpms-spec-experts mailing list