enonic / xp

Enonic XP
https://enonic.com
GNU General Public License v3.0
200 stars 34 forks source link

GraalJS #8714

Open anatol-sialitski opened 3 years ago

anatol-sialitski commented 3 years ago

Nashorn engine is removed from Java 15. Oracle recommended to use GraalJS - a part of GraalVM project ( it is still capable to run of OpenJDK 11-...) https://github.com/graalvm/graaljs

Since there is a plan for XP 8 to run on Java 17, our task is to integrate GraalJS into XP runtime.

This also brings Full ECMAScript 6 support - certainly one of the main requests from developers on XP Platform.

Alternative: Nashorn now got its own home https://github.com/openjdk/nashorn org.openjdk.nashorn :nashorn-core and capable to run on Java 17, too. One of the tasks would be to support choosing JavaScript Engine (on XP startup or per application?) for friction free migration from XP 7 to XP 8 - if possible.

nitelite commented 1 year ago

Has any more work been considered for this one? Is it still slated for XP8? Would love to simplify our build process and just be able to directly deploy ES6 files 😁