The GitHub Actions job "Binary Compatibility" on 
pekko.git/add-Yfuture-lazy-vals-scala3 has failed.
Run started by GitHub user He-Pin (triggered by He-Pin).

Head commit for run:
f9ee9c83e1c912c3b1f6c7ce15ca972b55a5e118 / He-Pin <[email protected]>
Add -Yfuture-lazy-vals for Scala 3.3.x builds

Motivation:
The Scala 3.3.8 compiler introduced the -Yfuture-lazy-vals flag
(scala/scala3-lts#637) to optionally use VarHandle instead of
sun.misc.Unsafe for lazy val implementation. This prepares libraries
for upcoming JDK releases that restrict Unsafe access.

Modification:
Add -Yfuture-lazy-vals to DefaultScalacOptions in PekkoBuild.scala,
conditionally applied only for Scala 3.3.x via CrossVersion.partialVersion.

Result:
Pekko's Scala 3.3.x build uses the future-proof VarHandle-based lazy
val implementation, compatible with all JDK 9+ versions.

Tests:
- sbt "++3.3.8; actor/compile" passed (exit 0, 54 pre-existing warnings)

References:
Refs scala/scala3-lts#637

Report URL: https://github.com/apache/pekko/actions/runs/27461979432

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to