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


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

Re: Java ScriptEngine with a JavaScript returning what?)

X-Received by 10.182.28.102 with SMTP id a6mr12030581obh.44.1410973743481; Wed, 17 Sep 2014 10:09:03 -0700 (PDT)
Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!h3no60534igd.0!news-out.google.com!ht4ni15245igb.0!nntp.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date Wed, 17 Sep 2014 12:09:03 -0500
Date Wed, 17 Sep 2014 20:08:19 +0300
From Donkey Hottie <donkey@fredriksson.dy.fi>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1
MIME-Version 1.0
Newsgroups comp.lang.java.programmer
Subject Re: Java ScriptEngine with a JavaScript returning what?)
References <vjhmeb-ecd.ln1@tempest.fredriksson.dy.fi> <lvad3j$qta$1@dont-email.me> <c7snodFre99U1@mid.individual.net> <auqdnew67dIA0YTJnZ2dnUVZ7qmdnZ2d@bt.com> <lvbv0j$8vn$1@dont-email.me>
In-Reply-To <lvbv0j$8vn$1@dont-email.me>
Message-ID <3proeb-qra.ln1@tempest.fredriksson.dy.fi> (permalink)
Lines 30
X-Usenet-Provider http://www.giganews.com
X-Trace sv3-tV0Uq81FqATyCQvgmENKzX5y9qk982A0/cSm6JrtK0ZhlIDTiRbbJEQcMfP1Jx+xMfAKOSbdjl4bJjb!fHZ8DmVFc3Uu1YLXkD5o0KB1b+g2jnVnZSdGYqH22OI5g6M2duPVabSNu0RV4yVjsxv8kA==
X-Complaints-To abuse@giganews.com
X-DMCA-Notifications http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info Otherwise we will be unable to process your complaint properly
X-Postfilter 1.3.40
X-Original-Bytes 2508
Content-Type text/plain; charset=windows-1252
Content-Transfer-Encoding 7bit
Xref csiph.com comp.lang.java.programmer:30007

Show key headers only | View raw


17.09.2014, 15:32, Eric Sosman kirjoitti:
> On 9/17/2014 4:48 AM, Chris Uppal wrote:
>> Robert Klemme wrote:
>>
>>> I do not understand why people are really asking these type of
>>> questions.  It is more rewarding and faster, too, to try these things
>>> out than going to a newsgroup to wait for a reply.
>>
>> But, on the other hand, on the newsgroup you may get an /explanation/,
>> or at
>> least a link to one.  Not gonna happen by experiment (whence Science).
> 
>     There's also the possibility that the result I obtained might
> have been specific to the particular script engine (Nashorn), and
> might be different from that obtained by other engines.  If the O.P.
> had said "I get null; is that by specification or by happenstance?"
> that would have been a better question (and would have showed some
> evidence of energy on his part).  But ...
> 
>     O.P.: It yields `null'.
> 

Indeed I do not use Nashorn, and I do not get a null. I use
'rhino:js:1.7R2', maybe I have to switch it to Nashorn. Thanks for the
pointer, and sad that these things are implementation specific.

-- 

It's lucky you're going so slowly, because you're going in the wrong
direction.

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


Thread

Java ScriptEngine with a JavaScript returning what? Donkey Hottie <donkey@fredriksson.dy.fi> - 2014-09-16 23:02 +0300
  Re: Java ScriptEngine with a JavaScript returning what? Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-09-16 18:20 -0400
    (was: Re: Java ScriptEngine with a JavaScript returning what?) Robert Klemme <shortcutter@googlemail.com> - 2014-09-17 08:24 +0200
      Re: Re: Java ScriptEngine with a JavaScript returning what?) "Chris Uppal" <chris.uppal@metagnostic.REMOVE-THIS.org> - 2014-09-17 09:48 +0100
        Re: Java ScriptEngine with a JavaScript returning what?) Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-09-17 08:32 -0400
          Re: Java ScriptEngine with a JavaScript returning what?) Donkey Hottie <donkey@fredriksson.dy.fi> - 2014-09-17 20:08 +0300
      Re: (was: Re: Java ScriptEngine with a JavaScript returning what?) Donkey Hottie <donkey@fredriksson.dy.fi> - 2014-09-17 19:56 +0300
        Re: (was: Re: Java ScriptEngine with a JavaScript returning what?) Robert Klemme <shortcutter@googlemail.com> - 2014-09-17 19:35 +0200
    Re: Java ScriptEngine with a JavaScript returning what? Donkey Hottie <donkey@fredriksson.dy.fi> - 2014-09-17 19:58 +0300
    Re: Java ScriptEngine with a JavaScript returning what? "Chris Uppal" <chris.uppal@metagnostic.REMOVE-THIS.org> - 2014-09-17 18:41 +0100
      Re: Java ScriptEngine with a JavaScript returning what? Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-09-17 13:57 -0400
        Re: Java ScriptEngine with a JavaScript returning what? Donkey Hottie <donkey@fredriksson.dy.fi> - 2014-09-17 21:12 +0300
        Re: Java ScriptEngine with a JavaScript returning what? Donkey Hottie <donkey@fredriksson.dy.fi> - 2014-09-17 21:14 +0300
      Re: Java ScriptEngine with a JavaScript returning what? Donkey Hottie <donkey@fredriksson.dy.fi> - 2014-09-17 21:17 +0300

csiph-web