ServiceLoader.load* take 2
    Jesse Glick 
    jesse.glick at oracle.com
       
    Tue Jun 12 13:46:49 PDT 2012
    
    
  
On 06/12/2012 04:25 PM, David M. Lloyd wrote:
> the existing service loader mechanism works well with multiple class loaders as is
*If* the TCCL is set to a special value which can "see into" all modules in the configuration, rather than just being the module loader for the "main" module. That is 
possible, given a ClassLoader.getResources variant mentioned by me earlier. But not necessarily less hackish, and probably trickier to optimize than what Paul's webrev 
has. Anyway I think the observed behavior would be identical for most cases.
    
    
More information about the jigsaw-dev
mailing list