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

From Arne Vajhøj <arne@vajhoej.dk>
Newsgroups comp.lang.java.programmer
Subject Re: The eval method of the nashorn engine
Date 2016-02-07 19:47 -0500
Organization Aioe.org NNTP Server
Message-ID <n98oiv$1kbe$1@gioia.aioe.org> (permalink)
References <java-20160207184619@ram.dialup.fu-berlin.de> <n98o31$1juv$1@gioia.aioe.org>

Show all headers | 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