FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[9.4] fix(launcher): correct parsing of java release files under Bash/msys2 etc on Windows by chadlwilson · Pull Request #9128 · jruby/jruby · GitHub

/ jruby Public

[9.4] fix(launcher): correct parsing of java release files under Bash/msys2 etc on Windows - #9128

Merged
headius merged 3 commits into
jruby:jruby-9.4from
chadlwilson:launcher-windows-fixes-94
Dec 30, 2025
Merged

[9.4] fix(launcher): correct parsing of java release files under Bash/msys2 etc on Windows #9128
headius merged 3 commits into
jruby:jruby-9.4from
chadlwilson:launcher-windows-fixes-94

Conversation

chadlwilson commented Dec 10, 2025
edited
Loading

Copy link
Copy Markdown
Contributor

Backport of #9127 for 9.4.x (given other launcher changes for 10.0.x have been ported across).

…A suffixes

As discussed in jruby#9127 (comment) this isn't perfect; however gets closer to the internal compatibility matching the JVM seems to do when loading JSAs at https://github.com/openjdk/jdk21u/blob/3c0530fd5f9615941144d8ac89786ce699027b51/src/hotspot/share/cds/filemap.cpp#L1341-L1349 (JDK 21)

Signed-off-by: Chad Wilson <29788154+chadlwilson@users.noreply.github.com>
(cherry picked from commit 250080a)
shellcheck treats the shell=dash designation as indication to only care about dash rules; however IntelliJ idea will still highlight it as an issue. We are probably better to only suppress the relevant rule.

Signed-off-by: Chad Wilson <29788154+chadlwilson@users.noreply.github.com>
(cherry picked from commit e10eda1)
…release metadata

Windows Temurin builds (for example) use CRLF in their `release` file; which breaks unquoting and thus the rest of the script.

Signed-off-by: Chad Wilson <29788154+chadlwilson@users.noreply.github.com>
(cherry picked from commit 4cee12a)
headius added this to the JRuby 9.4.15.0 milestone Dec 30, 2025
headius merged commit e2bdf61 into jruby:jruby-9.4 Dec 30, 2025
195 of 196 checks passed

headius commented Dec 30, 2025

Copy link
Copy Markdown
Member

Thank you!

chadlwilson deleted the launcher-windows-fixes-94 branch December 31, 2025 02:38
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL