Skip to content

[1.x] Backport runner script changes #8571

Merged
eed3si9n merged 3 commits intosbt:1.12.xfrom
eed3si9n:bport/8566
Jan 17, 2026
Merged

[1.x] Backport runner script changes #8571
eed3si9n merged 3 commits intosbt:1.12.xfrom
eed3si9n:bport/8566

Conversation

@eed3si9n
Copy link
Copy Markdown
Member

Ref #8566

MkDev11 and others added 3 commits January 17, 2026 17:46
Only recombine split -- arguments after new/init command.

Fixes sbt#7507
Previously, passing JVM options like -Xmx1G directly on the command
line would result in an error:

  sbt -v -Xmx1G
  [error] Expected ';'
  [error] -Xmx1G
  [error]       ^

This was because -X options were being passed to sbt as commands
instead of being recognized as JVM arguments.

Changes:
- Added handling for -X options in sbt.bat to pass them to the JVM
- Updated help text to document this feature
- Added integration tests for the new functionality
@eed3si9n eed3si9n added this to the 1.12.1 milestone Jan 17, 2026
@eed3si9n eed3si9n merged commit d549899 into sbt:1.12.x Jan 17, 2026
10 checks passed
@eed3si9n eed3si9n deleted the bport/8566 branch January 17, 2026 23:01
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.

3 participants