diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 8cfa854af7..735dc358cb 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -26,6 +26,8 @@ jobs: java: 17 - os: ubuntu-latest java: 21 + - os: ubuntu-latest + java: 22 fail-fast: false runs-on: ${{ matrix.os }} steps: diff --git a/shrike/src/main/java/com/ibm/wala/shrike/shrikeCT/ClassReader.java b/shrike/src/main/java/com/ibm/wala/shrike/shrikeCT/ClassReader.java index 3b34a1a1e1..68762b9912 100644 --- a/shrike/src/main/java/com/ibm/wala/shrike/shrikeCT/ClassReader.java +++ b/shrike/src/main/java/com/ibm/wala/shrike/shrikeCT/ClassReader.java @@ -68,7 +68,7 @@ private void parse() throws InvalidClassFileException { throw new InvalidClassFileException(offset, "bad magic number: " + magic); } // Support class files up through JDK 21 (version 65) - if (majorVersion < 45 || majorVersion > 65) { + if (majorVersion < 45 || majorVersion > 66) { throw new InvalidClassFileException( offset, "unknown class file version: " + majorVersion + '.' + minorVersion); }