GrafDiffusore commented on issue #2002: URL: https://github.com/apache/pekko/issues/2002#issuecomment-3180992690
> [@GrafDiffusore](https://github.com/GrafDiffusore) we use Java 11 for release builds - see https://github.com/apache/pekko?tab=readme-ov-file#building-from-source > > We do have CI jobs that build with other versions of Java. We do not use `targetSystemJdk := true` in any CI builds and have recently removed it from our main branch. ❤️ Apologies for rough comments, I was a bit frustrated ... now that I checked out main branch I have project compiled fine, but I have another question -- why produced class files are of Java 8 byte-code level, although `sbt` tells that `javac -target 17` is going to be used ? ``` pekko > show distributed-data / javacOptions [info] * -source [info] * 17 [info] * -target [info] * 17 ... file distributed-data/target/scala-2.13/classes/org/apache/pekko/cluster/ddata/WriteAggregator.class distributed-data/target/scala-2.13/classes/org/apache/pekko/cluster/ddata/WriteAggregator.class: compiled Java class data, version 52.0 (Java 1.8) ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org For additional commands, e-mail: notifications-h...@pekko.apache.org