runtime changes for services

Mandy Chung mandy.chung at oracle.com
Mon Feb 20 12:43:14 PST 2012


On 2/20/2012 10:50 AM, Alan Bateman wrote:
> I've put the updated webrev here:
> http://cr.openjdk.java.net/~alanb/jigsaw-services/webrev.02/

Looks good.

The Context.services() and serviceSuppliers() methods return a mutable 
map.  I understand the current usages are read-only but is inconsistent 
with other getter methods that return a unmodifiable map.  Probably you 
are thinking about performance - I think it's worth revisiting the 
immutability of this class and some other classes in the future.

Mandy



More information about the jigsaw-dev mailing list