Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add JDK 22-ea to build matrix #1698

Closed
SethTisue opened this issue Sep 11, 2023 · 4 comments
Closed

Add JDK 22-ea to build matrix #1698

SethTisue opened this issue Sep 11, 2023 · 4 comments
Assignees

Comments

@SethTisue
Copy link
Member

SethTisue commented Sep 11, 2023

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 scala/scala-dev#852

@SethTisue
Copy link
Member Author

prerequisite: scala/bug#12888

@SethTisue
Copy link
Member Author

SethTisue commented Oct 24, 2023

  • behemoth 1
  • behemoth 2
  • behemoth 3

steps

  • cd /usr/lib/jvm
  • sudo curl -O -L 'https://download.java.net/java/early_access/jdk22/20/GPL/openjdk-22-ea+20_linux-x64_bin.tar.gz'
  • sudo dtrx -n openjdk-22-ea+20_linux-x64_bin.tar.gz
  • sudo rm openjdk-22-ea+20_linux-x64_bin.tar.gz
  • sudo chmod -R go+rX openjdk-22-ea+20_linux-x64_bin
  • sudo ln -s openjdk-22-ea+20_linux-x64_bin/jdk-22 java-22-openjdk-x64
  • ./java-22-openjdk-x64/bin/java -version
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
Copy link
Member Author

SethTisue commented Oct 26, 2023

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 Buddy
metrics-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 (sageserpent-open/americium#67). and I'll mark of all these as expected-to-fail (commit: 338218f)

@SethTisue
Copy link
Member Author

SethTisue commented Oct 30, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant