Open OlivierJaquemet opened 7 years ago
The next major release of Java, JDK9, will provide an updated version of the Nashorn JavaScript engine. This version will include a JavaScript parsing API, and will support ES6.
http://www.javamagazine.mozaicreader.com/JulyAug2017/facebook#&pageSet=34&page=0&contentItem=0
A nice improvement (probably complex rewrite...) would be to use this engine to support new ES6 features.
That will fix a lot of problems, when you try to minify Es6 code.
Update : with JEP 335, Nashorn is considered for deprecation and future removal : http://openjdk.java.net/jeps/335
The next major release of Java, JDK9, will provide an updated version of the Nashorn JavaScript engine. This version will include a JavaScript parsing API, and will support ES6.
http://www.javamagazine.mozaicreader.com/JulyAug2017/facebook#&pageSet=34&page=0&contentItem=0
A nice improvement (probably complex rewrite...) would be to use this engine to support new ES6 features.