OpenJDK Nashorn Changelog

August 21, 2025 ยท View on GitHub

15.0 (2020.11.07)

#3 JDK-8256506 Create a standalone version of Nashorn for Java 15+

15.1 (2020.12.23)

#5 JDK-8258147 Modernize Nashorn code

#6 JDK-8233195 Don't hoist block-scoped variables from dead code

#7 JDK-8244586 Opportunistic type evaluation should gracefully handle undefined lets and consts

#8 JDK-8240299 A possible bug about Object.setPrototypeOf()

#9 JDK-8258216 Allow Nashorn to operate when not loaded as a JPMS module

15.1.1 (2020.12.30)

#10 JDK-8258749 Remove Dynalink tests from Standalone Nashorn

#11 JDK-8258787 ScriptEngineFactory.getOutputStatement neither quotes nor escapes its argument

#12 JDK-8240298 Array.prototype.pop, push, and reverse didn't call ToObject on their argument

15.2 (2021.02.13)

No code changes, but the artifacts published on Maven Central are now compiled with Java 11 instead of Java 15. It is thus possible to use them with projects targeting Java 11+.

15.3 (2021.06.29)

#13 JDK-8263910 Java.extend throws java.lang.ClassFormatError

#14 JDK-8265691 Some Object constructor methods aren't ES6 compliant

#15 JDK-8261926 Attempt to access property/element of a Java method results in AssertionError: unknown call type

#16 JDK-8269602 Gracefully handle absence of Unsafe.defineAnonymousClass

The engine now reports its name as OpenJDK Nashorn.

15.4 (2022.04.27)

#17 JDK-8283339 TypeError: undefined is not an Object after JDK-8240299

15.5 (2024.12.15 - DO NOT USE, IT IS BROKEN)

#18 JDK-8294560 assertion raised in newBuiltinSwitchPoint

#19 JDK-8343449 Nashorn method handle debug logging breaks with log4j-jul

15.6 (2024.12.25)

#20 JDK-8346302 Fix logging breaking Nashorn initialization

15.7 (2024.12.25)

#21 JDK-8346848 Eliminate compilation warnings with Java 21

#22 JDK-8347015 Remove support for Security Manager in Nashorn

#23 JDK-8348033 Tidy Nashorn code

#25 JDK-8349687 Some more tidying of Nashorn codebase

#26 Correct assert in ForOfLoopTreeImpl.java

License in the POM has been updated to SPDX-compliant string GNU General Public License v2.0 w/Classpath exception.