From a0e963f769a9c988ac496fcb83c60cdefc0ff911 Mon Sep 17 00:00:00 2001 From: idrissrio Date: Thu, 11 Sep 2025 14:15:26 +0200 Subject: [PATCH] Java: Add change note and update supported versions --- docs/codeql/reusables/supported-versions-compilers.rst | 4 ++-- java/ql/lib/change-notes/2025-09-11-support-java-25.md | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 java/ql/lib/change-notes/2025-09-11-support-java-25.md diff --git a/docs/codeql/reusables/supported-versions-compilers.rst b/docs/codeql/reusables/supported-versions-compilers.rst index 99f0f989764..0c729748dd4 100644 --- a/docs/codeql/reusables/supported-versions-compilers.rst +++ b/docs/codeql/reusables/supported-versions-compilers.rst @@ -18,7 +18,7 @@ .NET 5, .NET 6, .NET 7, .NET 8, .NET 9","``.sln``, ``.csproj``, ``.cs``, ``.cshtml``, ``.xaml``" GitHub Actions,"Not applicable",Not applicable,"``.github/workflows/*.yml``, ``.github/workflows/*.yaml``, ``**/action.yml``, ``**/action.yaml``" Go (aka Golang), "Go up to 1.25", "Go 1.11 or more recent", ``.go`` - Java,"Java 7 to 24 [6]_","javac (OpenJDK and Oracle JDK), + Java,"Java 7 to 25 [6]_","javac (OpenJDK and Oracle JDK), Eclipse compiler for Java (ECJ) [7]_",``.java`` Kotlin,"Kotlin 1.6.0 to 2.2.2\ *x*","kotlinc",``.kt`` @@ -36,7 +36,7 @@ .. [3] Objective-C, Objective-C++, C++/CLI, and C++/CX are not supported. .. [4] Support for the clang-cl compiler is preliminary. .. [5] Support for the Arm Compiler (armcc) is preliminary. - .. [6] Builds that execute on Java 7 to 24 can be analyzed. The analysis understands standard language features in Java 8 to 24; "preview" and "incubator" features are not supported. Source code using Java language versions older than Java 8 are analyzed as Java 8 code. + .. [6] Builds that execute on Java 7 to 25 can be analyzed. The analysis understands standard language features in Java 8 to 25; "preview" and "incubator" features are not supported. Source code using Java language versions older than Java 8 are analyzed as Java 8 code. .. [7] ECJ is supported when the build invokes it via the Maven Compiler plugin or the Takari Lifecycle plugin. .. [8] JSX and Flow code, YAML, JSON, HTML, and XML files may also be analyzed with JavaScript files. .. [9] The extractor requires Python 3 to run. To analyze Python 2.7 you should install both versions of Python. diff --git a/java/ql/lib/change-notes/2025-09-11-support-java-25.md b/java/ql/lib/change-notes/2025-09-11-support-java-25.md new file mode 100644 index 00000000000..bcd78fd8fda --- /dev/null +++ b/java/ql/lib/change-notes/2025-09-11-support-java-25.md @@ -0,0 +1,4 @@ +--- +category: feature +--- +* The Java extractor and QL libraries now support Java 25. \ No newline at end of file