RFR: 8340380: Improve source launcher's shebang script detection [v2]
Christian Stein
cstein at openjdk.org
Thu Jan 9 08:38:10 UTC 2025
> Please review this change that improves the launcher mode detection by reading the initial two characters from the started file for being a shebang script. It addresses the reported confusing error messages and also supports more shebang line variations. Including those line variations that omit the `--source` arguments like shown in the underlying issue description of JDK-8340380.
>
> Tests of tier 1..3: _in progress_
Christian Stein has updated the pull request incrementally with two additional commits since the last revision:
- Update copyright year and extend bug id list
[skip ci]
- Update copyright year
[skip ci]
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/21910/files
- new: https://git.openjdk.org/jdk/pull/21910/files/5346fa8f..b4b8a8d7
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=21910&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=21910&range=00-01
Stats: 3 lines in 2 files changed: 0 ins; 0 del; 3 mod
Patch: https://git.openjdk.org/jdk/pull/21910.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/21910/head:pull/21910
PR: https://git.openjdk.org/jdk/pull/21910
More information about the core-libs-dev
mailing list