xp icon indicating copy to clipboard operation
xp copied to clipboard

GraalJS

Open anatol-sialitski opened this issue 4 years ago • 1 comments

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.

anatol-sialitski avatar Mar 24 '21 08:03 anatol-sialitski

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 😁

nitelite avatar Jul 03 '23 10:07 nitelite