ModuleClassLoader inheritance issue

mark.reinhold at oracle.com mark.reinhold at oracle.com
Tue Feb 28 08:11:03 PST 2012


2012/2/28 7:51 -0800, david.lloyd at redhat.com:
> On 02/28/2012 09:20 AM, mark.reinhold at oracle.com wrote:
>> 2012/2/28 5:37 -0800, alan.bateman at oracle.com:
>>> On 28/02/2012 12:55, Alexey Fedorov wrote:
>>>> Is java.lang.module.ModuleClassLoader class planned to be final? Or does
>>>> modular-jdk Team plan to add some documentation containing
>>>> overriding/inheritance rules for new Modular API?
>>> 
>>> I would say it's TBD for now.
>> 
>> ModuleClassLoader will almost certainly wind up being final.
> 
> I would strongly recommend against that, as it would prevent OSGi from
> functioning in a modular environment.

Not necessarily -- it all depends on how the interop story works out.
If there's a good reason for ModuleClassLoader to be non-final then we
won't make it final, but in general I don't think it makes sense for
it to be arbitrarily extensible.

- Mark



More information about the jigsaw-dev mailing list