Wednesday, April 22, 2020

2020-04-22 Wednesday - JDK 15 - Remove the Nashorn JavaScript Engine (JEP 372)

I noted the following in a recent JDK 15 InfoQ article:

Remove the Nashorn JavaScript Engine (JEP 372)
https://openjdk.java.net/jeps/372

  • "Remove the Nashorn JavaScript script engine and APIs, and the jjs tool. The engine, the APIs, and the tool were deprecated for removal in Java 11 with the express intent to remove them in a future release."
  • "The Nashorn JavaScript engine was first incorporated into JDK 8 via JEP 174 as a replacement for the Rhino scripting engine. When it was released, it was a complete implementation of the ECMAScript-262 5.1 standard."
  • "With the rapid pace at which ECMAScript language constructs, along with APIs, are adapted and modified, we have found Nashorn challenging to maintain."

No comments:

Copyright

© 2001-2021 International Technology Ventures, Inc., All Rights Reserved.