New issue: ModuleClassLoader is final

David M. Lloyd david.lloyd at
Thu Mar 3 00:12:29 UTC 2016

If ModuleClassLoader is final, then it is impossible to have (for 
example) an OSGi implementation where OSGi bundles map to modules, 
because the class loader of OSGi bundles must implement an OSGi 
interface.  Other containers may also wish to use ModuleClassLoader 
subclasses to store assocations in similar ways with deployment modules 
or bundles; the prevalence of the TCCL to mark the currently active 
application's class loader makes this a particularly useful technique.


More information about the jpms-spec-experts mailing list