JaroslavTulach opened a new pull request #2106:
URL: https://github.com/apache/netbeans/pull/2106


   The standard JDK's JavaScript engine *Nashorn* [has already been 
deprecated](https://www.youtube.com/watch?v=SraYjqB0oX8) for several years. 
Recently it has been [removed from the JDK](https://openjdk.java.net/jeps/372). 
Time to find more places where NetBeans functionality depends on Nashorn and 
make it more flexible.
   
   One of the areas is support for executing and debugging standalone 
JavaScript files. Here is my pull request that enhances the options UI to allow 
one to switch between Nashorn and *Graal.js* (already present in NetBeans). My 
PR also makes sure that whenever Nashorn is missing Graal.js is selected to do 
the right job.
   
   The PR registers Graal.js as a Java library (including its launcher). Then 
it modifies the run/debug actions to put that library on classpath - that's all 
necessary to make sure Graal.js runs on any JDK8+.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to