is ClassLoader.loadClass() supposed to work on module-info classes?

Alan Bateman Alan.Bateman at
Sat Dec 5 10:09:23 UTC 2015

On 05/12/2015 07:00, Ali Ebrahimi wrote:
> :
> module FOO.aop{
>       implements FOO.api;
> }
> In other word, consumer module doesn't know any think about implementing
> module since here we have contract and that is API module. think of today's
> interface.
In the distant past, this was known here as aliasing or substitution, 
and "provides FOO.api" in the module declaration. It essentially allowed 
a module to have several names. It was complicated at the time because 
of versioning. It's not in the current proposal, I don't know if the JSR 
will go there.


More information about the jigsaw-dev mailing list