8003967: detect and remove all mutable implicit static enum fields in langtools

Reviewed-by: jjg
This commit is contained in:
Vicente Romero 2012-12-10 16:21:26 +00:00
parent 5c0bff8f21
commit 8fc2d739bd
31 changed files with 333 additions and 128 deletions

View file

@ -97,7 +97,7 @@ public enum StandardLocation implements Location {
return locations.get(name);
}
//where
private static ConcurrentMap<String,Location> locations
private static final ConcurrentMap<String,Location> locations
= new ConcurrentHashMap<String,Location>();
public String getName() { return name(); }