Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #33658

Re: The eval method of the nashorn engine

Path csiph.com!aioe.org!.POSTED!not-for-mail
From Arne Vajhøj <arne@vajhoej.dk>
Newsgroups comp.lang.java.programmer
Subject Re: The eval method of the nashorn engine
Date Sun, 7 Feb 2016 19:47:29 -0500
Organization Aioe.org NNTP Server
Lines 22
Message-ID <n98oiv$1kbe$1@gioia.aioe.org> (permalink)
References <java-20160207184619@ram.dialup.fu-berlin.de> <n98o31$1juv$1@gioia.aioe.org>
NNTP-Posting-Host ANasIS7Js9OyLQwgloeBLQ.user.gioia.aioe.org
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 8bit
X-Complaints-To abuse@aioe.org
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1
X-Notice Filtered by postfilter v. 0.8.2
Xref csiph.com comp.lang.java.programmer:33658

Show key headers only | View raw


On 2/7/2016 7:38 PM, Arne Vajhøj wrote:
> On 2/7/2016 12:48 PM, Stefan Ram wrote:
>> =?UTF-8?Q?Arne_Vajh=c3=b8j?= <arne@vajhoej.dk> writes:
>>> That does not look like Java.
>>
>>    He is asking about the usage of the /Java/ method
>>
>> eval(java.lang.String)
>>
>>    of the /Java/ object
>>
>> new javax.script.ScriptEngineManager().
>> getEngineByName( "nashorn" )
>
> Really. How do you conclude that?

And BTW then I don't think it is good code to look up scriptengine
by implementation name.

Arne

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: The eval method of the nashorn engine Arne Vajhøj <arne@vajhoej.dk> - 2016-02-07 19:38 -0500
  Re: The eval method of the nashorn engine Arne Vajhøj <arne@vajhoej.dk> - 2016-02-07 19:47 -0500

csiph-web