Movatterモバイル変換


[0]ホーム

URL:


JEP 372: Remove the Nashorn JavaScript Engine

OwnerJim Laskey
TypeFeature
ScopeJDK
StatusClosed / Delivered
Release15
Componentcore-libs / jdk.nashorn
Discussionjdk dash dev at openjdk dot java dot net
EffortM
DurationM
Relates toJEP 335: Deprecate the Nashorn JavaScript Engine for Removal
Reviewed byHannes Wallnoefer, Sundararajan Athijegannathan
Endorsed byMark Reinhold
Created2020/01/10 14:29
Updated2025/10/21 12:45
Issue8236933

Summary

Remove the Nashorn JavaScript script engine and APIs, and thejjstool. The engine, the APIs, and the tool weredeprecated for removal in Java 11 with theexpress intent to remove them in a future release.

Motivation

The Nashorn JavaScript engine was first incorporated into JDK 8 viaJEP 174 as a replacement for the Rhinoscripting engine. When it was released, it was a complete implementation ofthe 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.

Non-Goals

This removal does not affect, in any way, thejavax.script API.

Description

TwoJDK modules will bepermanently removed:

Risks and Assumptions

We assume that developers who rely on Nashorn have had enough notice of itsproposed removal to make alternative arrangements. The deprecation-for-removalof Nashorn in JDK 11 was confirmed in June 2018, causing the proposed removalto be flagged at every use of thejdk.nashorn.* API and thejjs tool in JDK11, 12, and 13. During this period, no set of credible developers expressed aclear desire to maintain Nashorn in JDK 14 and beyond.

OpenJDK logo
Installing
Contributing
Sponsoring
Developers' Guide
Vulnerabilities
JDK GA/EA Builds
Mailing lists
Wiki ·IRC
Mastodon
Bluesky
Bylaws ·Census
Legal
Workshop
JEP Process
Source code
GitHub
Mercurial
Tools
Git
jtreg harness
Groups
(overview,archive)
Adoption
Build
Client Libraries
Compatibility & Specification Review
Compiler
Conformance
Core Libraries
Governing Board
HotSpot
IDE Tooling & Support
Internationalization
Members
Networking
Porters
Quality
Security
Serviceability
Vulnerability
Web
Projects
(overview,archive)
Amber
Babylon
CRaC
Code Tools
Coin
Common VM Interface
Developers' Guide
Duke
Galahad
Graal
IcedTea
JDK 8 Updates
JDK 9
JDK (…,25,26,27)
JDK Updates
JMC
Jigsaw
Lanai
Leyden
Lilliput
Loom
Memory Model Update
Metropolis
Multi-Language VM
Nashorn
New I/O
OpenJFX
Panama
Port: AArch32
Port: AArch64
Port: BSD
Port: Haiku
Port: MIPS
Port: Mobile
Port: PowerPC/AIX
Port: RISC-V
Port: s390x
SCTP
Shenandoah
Skara
Sumatra
Tsan
Valhalla
Wakefield
Zero
ZGC
Oracle logo
© 2026 Oracle Corporation and/or its affiliates
Terms of Use · License:GPLv2 ·Privacy ·Trademarks

[8]ページ先頭

©2009-2026 Movatter.jp