<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">No idea. I would guess that
AppleScriptEngine needs Cocoa loop running in order to work. Since
we don't have regression tests for this functionality, I haven't
tried removing Toolkit.getDefaultToolkit() call. <br>
<br>
On 9/23/2013 15:16, Sergey Bylokhov wrote:<br>
</div>
<blockquote cite="mid:52402322.2080709@oracle.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">Hi, Leonid.<br>
Do you know why we need toolkit there?<br>
<br>
On 19.09.2013 16:35, Leonid Romanov wrote:<br>
</div>
<blockquote
cite="mid:6EEBB501-C1A0-413C-8258-52199A305D95@oracle.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
Hello,
<div>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.</div>
<div><br>
</div>
<div>Bug: <a moz-do-not-send="true"
href="https://bugs.openjdk.java.net/browse/JDK-8022555">https://bugs.openjdk.java.net/browse/JDK-8022555</a></div>
<div>Webrev: <a moz-do-not-send="true"
href="http://cr.openjdk.java.net/%7Eleonidr/8022555/webrev.00/">http://cr.openjdk.java.net/~leonidr/8022555/webrev.00/</a></div>
<div><br>
</div>
<div>Thanks,</div>
<div>Leonid.</div>
<div> </div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Best regards, Sergey. </pre>
</blockquote>
<br>
</body>
</html>