scala / community-build

Scala 2 community build — a corpus of open-source repos built against Scala nightlies
Apache License 2.0
139 stars 59 forks source link

Add JDK 22-ea to build matrix #1698

Closed SethTisue closed 1 year ago

SethTisue commented 1 year ago

I would prefer not to do this until JDK 21 final is out. Then we can drop JDK 20 and add 22-ea instead.

see also https://github.com/scala/scala-dev/issues/852

SethTisue commented 1 year ago

prerequisite: https://github.com/scala/bug/issues/12888

SethTisue commented 1 year ago

steps

openjdk version "22-ea" 2024-03-19
OpenJDK Runtime Environment (build 22-ea+20-1570)
OpenJDK 64-Bit Server VM (build 22-ea+20-1570, mixed mode, sharing)

and then

SethTisue commented 1 year ago

2.13.x failures:

zinc: Unsupported class file major version 66 during shading • twirl: Unsupported class file major version 66 • play-ws: Java 22 (66) is not supported by the current version of Byte Buddymetrics-scala: Java 22 (66) is not supported by the current version of Byte Buddy • americium: cannot find symbol during javac run, cause not obvious to me

so the only one of these that's a little odd is americium. I'll report it to the maintainers (https://github.com/sageserpent-open/americium/issues/67). and I'll mark of all these as expected-to-fail (commit: 338218f3f74cd34688e66cba5119ed4d82ebc587)

SethTisue commented 1 year ago

heh, oops, somehow the Jenkins jobs were still on 21. fixed, but nothing new turned up but a new metals test failure (a too-fragile test) I reported upstream