You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@pekko.apache.org by GitBox <gi...@apache.org> on 2026/06/14 10:29:22 UTC

[GH] (pekko-management/add-future-lazy-vals): Workflow run "MiMa Check" failed!

The GitHub Actions job "MiMa Check" on pekko-management.git/add-future-lazy-vals has failed.
Run started by GitHub user He-Pin (triggered by He-Pin).

Head commit for run:
5a03adbec938407032dda30f88c28eb3656fde8a / 虎鸣 <he...@alibaba-inc.com>
feat: Add -Yfuture-lazy-vals for Scala 3.3.x builds

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

Modification:
Add -Yfuture-lazy-vals to scalacOptions, conditionally applied only
for Scala 3.3.x via CrossVersion.partialVersion or scalaBinaryVersion.

Result:
Scala 3.3.x build uses the future-proof VarHandle-based lazy val
implementation, compatible with all JDK 9+ versions including future
releases that restrict sun.misc.Unsafe.

References:
Refs scala/scala3-lts#637
Refs apache/pekko#3059

Report URL: https://github.com/apache/pekko-management/actions/runs/27495961391

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org