RFR: 8341134: Deprecate for removal the jrunscript tool [v3]
Jaikiran Pai
jpai at openjdk.org
Mon Oct 7 07:03:13 UTC 2024
> Can I please get a review for this change which proposes to deprecate for removal the `jrunscript` tool?
>
> The `jrunscript` tool as documented in its specification https://docs.oracle.com/en/java/javase/23/docs/specs/man/jrunscript.html was an experimental and unsupported tool. Ever since the script engine implementations have been removed from the JDK, the default usage of this tool has been non-functional:
>
>
> $> jrunscript
> script engine for language js can not be found
>
>
> The tool itself could be launched by specifying a script engine implementation in the classpath, in which case it will use that script engine implementation. However, given that the JDK itself ships no such engines anymore and since there are no plans to continue support for this tool, the tool will now print a deprecation warning in preparation for its removal from a future release.
>
> No new tests have been added and existing tests in tier1, tier2 and tier3 continue to pass. I will draft a CSR (and a release note) shortly.
Jaikiran Pai has updated the pull request incrementally with one additional commit since the last revision:
Alan's suggestion - retain old text plus add a new deprecation note
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/21380/files
- new: https://git.openjdk.org/jdk/pull/21380/files/f68997e7..5f2c4a5f
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=21380&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=21380&range=01-02
Stats: 6 lines in 1 file changed: 3 ins; 0 del; 3 mod
Patch: https://git.openjdk.org/jdk/pull/21380.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/21380/head:pull/21380
PR: https://git.openjdk.org/jdk/pull/21380
More information about the core-libs-dev
mailing list