Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Java 17 domain socket support exclusively #529

Merged
merged 22 commits into from
Jan 10, 2022

Conversation

alexarchambault
Copy link
Contributor

No description provided.

For the Windows CI job, that uses a Java 16 GraalVM distribution.
@alexarchambault alexarchambault force-pushed the bloop-java-17 branch 13 times, most recently from 4019728 to c48b705 Compare January 7, 2022 00:34
/bin/sh has issues with '+' or '%' in PATH (don't remember which). cs
puts entries with such characters when using temurin:17. So from
/bin/sh, the temurin:17 entry in PATH is ignored, which is an issue.

To work around that, we ensure that bash is used instead of sh wherever
possible.
- avoid the use of Try around os.proc (better directly check the exit
  code or if the file we run exists)
- ensure we don't ask a question when --force is passed
@alexarchambault alexarchambault force-pushed the bloop-java-17 branch 2 times, most recently from dd67dfb to 717987f Compare January 7, 2022 01:44
@alexarchambault alexarchambault force-pushed the bloop-java-17 branch 2 times, most recently from 5f20a9c to 73ada0d Compare January 7, 2022 09:07
Image resizing is only used by MSI packaging, and was already disabled
in the Scala CLI native Windows executable. Disabling it here, as it
seems to mess with native-image.
Required as we're using a Java 16-based GraalVM on Windows
@alexarchambault alexarchambault marked this pull request as ready for review January 10, 2022 09:41
@alexarchambault alexarchambault merged commit a300fff into VirtusLab:master Jan 10, 2022
@alexarchambault alexarchambault deleted the bloop-java-17 branch January 10, 2022 11:35
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.

None yet

1 participant