squirrel-sql: fix the launcher script to allow JDK 19#235096
squirrel-sql: fix the launcher script to allow JDK 19#235096khumba wants to merge 1 commit intoNixOS:masterfrom
Conversation
Squirrel SQL 4.5.1 added support for JDK 19, but the launcher scripts weren't updated and still check for JDK <=17. This patches the scripts to check allow JDK <=19.
|
Result of 1 package built:
|
raboof
left a comment
There was a problem hiding this comment.
Seems to work!
Has this problem/patch been reported upstream? Perhaps we should link to that?
|
Thanks for testing this. I haven't reported it upstream yet. I am planning to do so, but I wanted to respond here first.
…On May 31, 2023 12:29:56 a.m. PDT, Arnout Engelen ***@***.***> wrote:
@raboof approved this pull request.
Seems to work!
Has this problem/patch been reported upstream? Perhaps we should link to that?
--
Reply to this email directly or view it on GitHub:
#235096 (review)
You are receiving this because you authored the thread.
Message ID: ***@***.***>
|
👍 (I didn't do any in-depth tests, just start the program) |
|
I think something got mixed up in their release process. Upstream has commits adding 18 and 19 to the some but not all of the launcher scripts on the 4.5.1 branch (7978596a, f869b3a1). And for some reason, the released -standard.zip doesn't have the updated launcher in the root of the ZIP. So this patch should be fine to apply. |
|
This PR is obsoleted by bumping to the fixed version here: #236771 |
|
even better! |
Description of changes
Squirrel SQL 4.5.1 added support for JDK 19, but the launcher script still requires JDK <=17. This patches the launcher script to check for JDK <=19. This is a belated follow-up to #209299, prompted by #235015.
I confirm that with this change, Squirrel starts now, whereas it errored out before.
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)