Good tip Alan/Chris. I'll make that change and push.
Regards, Sean. On 12 May 2014 07:17:04 GMT+01:00, Alan Bateman <alan.bate...@oracle.com> wrote: >On 11/05/2014 21:56, Seán Coffey wrote: >> Now that JDK 8 is the official build bootstrap JDK for JDK 9, we can >> remove use of reflection in ORB code to access the applet context. >> >> bug report : https://bugs.openjdk.java.net/browse/JDK-8042906 >> webrev : http://cr.openjdk.java.net/~coffeys/webrev.8042906/webrev/ >I agree with Chris that computeIfAbsent is best here, that was also the > >suggestion back in early April before the bootstrapping issue came up. >In any case, it's good you are re-visiting this to clean it up. > >-Alan