Eliminate silent dependencies was: Mandatory service requirement

Alan Bateman Alan.Bateman at oracle.com
Wed Feb 22 03:34:31 PST 2012


On 20/02/2012 09:49, Jaroslav Tulach wrote:
> :
>
> Services often act like singletons. Properly used singletons need to be
> "inherently initialized" (discussed at [2] and [3]).
I think singletons is a good topic to bring up. An interesting question 
is whether this should be something that the module system or 
ServiceLoader knows about or whether it's the user of SeviceLoader that 
enforces it (possible as a side effect of caching).

-Alan



More information about the jigsaw-dev mailing list