<AWT Dev> [8] Review request for 8022555: [macosx] AppleScriptEngine.jar MUST call java.awt.Toolkit.getDefaultToolkit() lazily

Anthony Petrov anthony.petrov at oracle.com
Thu Sep 19 07:02:33 PDT 2013

Looks fine to me.

best regards,

On 09/19/13 16:35, Leonid Romanov wrote:
> Hello,
> This is a RFE from the Nashorn team to change AppleScriptEngine
> initialization from static to lazy, when app actually asks for an
> AppleScriptEngine instance. They've requested it because
> AppleScriptEngine initialization triggers LWCToolkit initialization,
> which currently happens as a result of the whole scripting subsystem
> initialization, and this is something they want to avoid.
> Bug: https://bugs.openjdk.java.net/browse/JDK-8022555
> Webrev: http://cr.openjdk.java.net/~leonidr/8022555/webrev.00/
> Thanks,
> Leonid.

More information about the awt-dev mailing list