Skip to content

Use -Yfuture-lazy-vals for Scala 3 on the JVM - #643

Merged
adamw merged 1 commit into
masterfrom
use-future-lazy-vals
Sep 17, 2026
Merged

adamw merged 1 commit into
masterfrom
use-future-lazy-vals

Conversation

@adamw

@adamw adamw commented Sep 17, 2026

Copy link
Copy Markdown
Member

Adds -Yfuture-lazy-vals to Scala 3 on the JVM, so that JVM 25 no longer warns about a terminally deprecated API. Same change as softwaremill/sttp#2996.

The flag needs the VarHandle API, so it comes with -java-output-version 11. Scala 3 artifacts now need Java 11; Scala 2 artifacts are unchanged and still target Java 8.

@adamw
adamw merged commit fbb620e into master Sep 17, 2026
10 checks passed
@adamw
adamw deleted the use-future-lazy-vals branch September 17, 2026 08:53
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