Sean,

It is nice to see this code being cleaned up, and I agree with the changes.

You can use computeIfAbsent here, rather than, putIfAbsent, to avoid evaluating 
the result of setupPresentationManager() when there is already a mapping.
  pmContexts.computeIfAbsent(appletContext, 
PresentationManage::setupPresentationManager);

-Chris.

On 11 May 2014, at 21:56, Seán Coffey <sean.cof...@oracle.com> 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/
> 
> regards,
> Sean.

Reply via email to