Re: Nashorn Roadmap & Rhino migration question

2014-08-01 Thread Hannes Wallnoefer
Hi Paul, Regarding your question on EcmaScript 6: Our plan is to add ES6 features incrementally. First on our list is block scoping with let and const which should be in the 8u40 release. We're also reviewing a patch of contributed Array, Object, String, Math, and Number functions added in ES

Re: Nashorn Roadmap & Rhino migration question

2014-08-01 Thread Jim Laskey (Oracle)
Hi Paul, On Jul 31, 2014, at 4:43 PM, Paul Bakker wrote: > Hi, > > Maybe not the right place to ask these questions, but I could not find > another place to ask them. > > 1: What is the roadmap of Nashorn when it comes to EcmaScript 6. The spec if > quite final, mostly bugfixing. Assuming t

Re: Nashorn Roadmap & Rhino migration question

2014-08-01 Thread A. Sundararajan
I'm addressing question (2). Nashorn uses thread context class loader to resolve Java classes from script. So, you can either set thread context class loader before creating nashorn script engine. Or you can use jdk.nashorn.api.scripting.NashornScriptEngineFactory class directly. NashornScript