The GitHub Actions job "CI" on pekko-connectors-kafka.git/main has failed. Run started by GitHub user He-Pin (triggered by He-Pin).
Head commit for run: d7e1cc58b030be203256e87233d70ffa334b19ec / He-Pin(kerr) <[email protected]> Add -Yfuture-lazy-vals for Scala 3.3.x builds (#546) * 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 * fix: Add -release:17 required by -Yfuture-lazy-vals The -Yfuture-lazy-vals flag requires explicit -java-output-version set to minimum version 9 or higher. Add -release:17 to satisfy this requirement for Scala 3.3.x builds. Report URL: https://github.com/apache/pekko-connectors-kafka/actions/runs/27497106333 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
