-
Bug
-
Resolution: Fixed
-
P4
-
None
-
b21
The JDK ships a "jrunscript" tool which as per its specification has been an experimental and unsupported tool https://docs.oracle.com/en/java/javase/23/docs/specs/man/jrunscript.html.
This tool, by default, is no longer functional since several releases due to the removal of the JavaScript engine from the JDK.
In the recent releases (as old as JDK 17), when this tool is launched, it prints the following message and exits:
$> jrunscript
script engine for language js can not be found
The tool should be updated to print a deprecation for removal message in preparation for removal in a future release.
This tool, by default, is no longer functional since several releases due to the removal of the JavaScript engine from the JDK.
In the recent releases (as old as JDK 17), when this tool is launched, it prints the following message and exits:
$> jrunscript
script engine for language js can not be found
The tool should be updated to print a deprecation for removal message in preparation for removal in a future release.
- csr for
-
JDK-8341610 Deprecate for removal the jrunscript tool
- Closed
- links to
-
Commit(master) openjdk/jdk/7a16906e
-
Review(master) openjdk/jdk/21380