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 23 to matrix #1718

Closed SethTisue closed 1 month ago

SethTisue commented 8 months ago

early access builds of 23 are already available

regardless, this can wait for a while

SethTisue commented 4 months ago

according to https://openjdk.org/projects/jdk/23/ ,

Screenshot 2024-08-04 at 8 37 17 PM

so now would probably be a good time

SethTisue commented 4 months ago

I don't think we have the disk space (either the gigabytes, or the inodes) to add JDK 23 without dropping 22 (or some other version), but I think dropping 22 is actually okay. fyi @lrytz

SethTisue commented 3 months ago

steps

openjdk version "23-ea" 2024-09-17
OpenJDK Runtime Environment (build 23-ea+35-2364)
OpenJDK 64-Bit Server VM (build 23-ea+35-2364, mixed mode, sharing)

and then

SethTisue commented 3 months ago

JDK 23 jobs are green. (Some projects fail for expected reasons, typically that they use a bytecode processor that needs upgrading, or they run into an important conflict involving java.io.IO which is new in 23.)

I disabled the JDK 22 jobs but did not outright delete them. Out of some perhaps not entirely rational general sense of caution. We can always delete them later.

SethTisue commented 1 month ago

time to move to JDK 23 final

SethTisue commented 1 month ago

steps

cd /usr/lib/jvm
sudo curl -O -L 'https://download.oracle.com/java/23/latest/jdk-23_linux-x64_bin.tar.gz'
sudo dtrx -n jdk-23_linux-x64_bin.tar.gz
sudo rm jdk-23_linux-x64_bin.tar.gz
sudo chmod -R go+rX jdk-23_linux-x64_bin
sudo rm java-23-openjdk-x64
sudo ln -s jdk-23_linux-x64_bin/jdk-23.0.1 java-23-openjdk-x64
./java-23-openjdk-x64/bin/java -version
java version "23.0.1" 2024-10-15
Java(TM) SE Runtime Environment (build 23.0.1+11-39)
Java HotSpot(TM) 64-Bit Server VM (build 23.0.1+11-39, mixed mode, sharing)

and then