Skip to content

[1.x] fix: Fixes client-side run#8259

Merged
eed3si9n merged 1 commit into
sbt:1.11.xfrom
eed3si9n:wip/sbtn-run
Sep 2, 2025
Merged

[1.x] fix: Fixes client-side run#8259
eed3si9n merged 1 commit into
sbt:1.11.xfrom
eed3si9n:wip/sbtn-run

Conversation

@eed3si9n

@eed3si9n eed3si9n commented Sep 2, 2025

Copy link
Copy Markdown
Member

Fixes #8256

Problem

Client-side run currently fails on JDK 8 because sbtn creates args file even though JDK 8 does not support it. This is likely because sbtn is compiled using GraalVM on a modern JDK.

Solution

This adds a new fork option canUseArgumentsFile to delegate the args file decision to the server, and default to false if the value is missing. This retroactively fixes sbt 2.x client-side run.

**Problem**
Client-side run currently fails on JDK 8 because sbtn
creates args file even though JDK 8 does not support it.
This is likely because sbtn is compiled using GraalVM on a modern JDK.

**Solution**
This adds a new fork option canUseArgumentsFile to delegate the args file decision
to the server, and default to false if the value is missing.
This retroactively fixes sbt 2.x client-side run.
@eed3si9n eed3si9n merged commit 8830abb into sbt:1.11.x Sep 2, 2025
10 checks passed
@eed3si9n eed3si9n deleted the wip/sbtn-run branch September 2, 2025 09:29
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.

1 participant