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 ES6. Beyond that plans are still moving, but ES6 features will continue to show up in update and major releases.

Complete ES6 is quite a big undertaking so it's definitely beyond JDK8 and at least the initial JDK9 release. Whether ES6 will be backported to a JDK 8 update release at some point is too early to tell I guess.

Regards,
Hannes

Am 2014-07-31 um 21:43 schrieb Paul Bakker:
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 that at some point EcmaScript 6 will be supported in Nashorn, what is the policy to porting support back to existing Java versions? Can we expect to see EcmaScript 6 support in Nashorn in Java 8, or would such features only become available in new Java versions (so 9 or even 10)?

2: We currently integrate with Rhino directly (not the version what was shipped with Java). One of the features we use is being able to load instantiate Java classes from JavaScript using a custom classloader, using the new Packages(classLoader) syntax (see http://osdir.com/ml/mozilla.devel.jseng/2002-06/msg00037.html). Is this supported in Nashorn so way or the other?

TIA,

Paul

Reply via email to