Please review JDK-8059321

Marcus Lagergren marcus.lagergren at oracle.com
Mon Sep 29 18:10:08 UTC 2014


Aleksey - I still need the weak semantics, because I don’t want to hold on to the strings. Would that work for the WeakHashMap and preserve semantics? #iamnotajavaprogrammer.

> 
> The entire shenanigan would go away if you turn the Map into Set with
> Collections.newSetFromMap(...), and then do add().
> 
> -Aleksey.
> 
> 



More information about the nashorn-dev mailing list