The GitHub Actions job "Validate and test" on pekko-http.git/add-Yfuture-lazy-vals-scala3 has failed. Run started by GitHub user He-Pin (triggered by He-Pin).
Head commit for run: 6d25f5ee8d289d3546016e3b009834e2397b0c90 / He-Pin <[email protected]> Add -Yfuture-lazy-vals for Scala 3 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 Common.scala scalacOptions using the existing onlyOnScala3 helper. Result: pekko-http's Scala 3 build uses the future-proof VarHandle-based lazy val implementation, compatible with all JDK 9+ versions. Tests: - sbt "++3.3.8; http/compile" passed (exit 0, 66s) References: Refs scala/scala3-lts#637 Report URL: https://github.com/apache/pekko-http/actions/runs/27462225600 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
