8182482: Module System spec updates

Alex Buckley alex.buckley at oracle.com
Thu Jun 22 00:55:45 UTC 2017


On 6/21/2017 5:34 PM, Hamlin Li wrote:
> Got it, Thank you for planing to update it, especially for "load" and
> "instantiate", in several places they are used in a mixed way.

Yes, it is critical to be clear about:

- when a service provider is discovered (search a family of loaders or 
layers, depending on how the service loader was created), versus

- when a service provider is loaded (not by the load* methods! and maybe 
the provider is found in the cache...), versus

- when a service provider is instantiated (streaming lets you defer 
that, iteration doesn't).

Lots of puzzle pieces that need to snap together.

Alex


More information about the jigsaw-dev mailing list