From f57962878f0b2a80c5842fe0577d69e50d617148 Mon Sep 17 00:00:00 2001 From: Manu Sridharan Date: Sat, 7 Sep 2024 18:11:03 -0700 Subject: [PATCH] WIP --- .github/workflows/continuous-integration.yml | 2 +- .../main/java/com/ibm/wala/shrike/shrikeCT/ClassReader.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 735dc358c..3285d1487 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -27,7 +27,7 @@ jobs: - os: ubuntu-latest java: 21 - os: ubuntu-latest - java: 22 + java: 23-ea 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 044434138..2f588e3b1 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 @@ -67,8 +67,8 @@ private void parse() throws InvalidClassFileException { if (magic != MAGIC) { throw new InvalidClassFileException(offset, "bad magic number: " + magic); } - // Support class files up through JDK 22 (version 66) - if (majorVersion < 45 || majorVersion > 66) { + // Support class files up through JDK 23 (version 67) + if (majorVersion < 45 || majorVersion > 67) { throw new InvalidClassFileException( offset, "unknown class file version: " + majorVersion + '.' + minorVersion); }