From 27fd16ae87572b2f0cd65062622bbff72e8c6682 Mon Sep 17 00:00:00 2001 From: yo-h <55373593+yo-h@users.noreply.github.com> Date: Thu, 14 Jan 2021 20:29:16 -0500 Subject: [PATCH] Java: update documentation on supported language versions --- docs/codeql/support/reusables/versions-compilers.rst | 4 ++-- java/change-notes/2021-01-14-java-15-support.md | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 java/change-notes/2021-01-14-java-15-support.md diff --git a/docs/codeql/support/reusables/versions-compilers.rst b/docs/codeql/support/reusables/versions-compilers.rst index 9de6af6aa60..39e30bbc7cb 100644 --- a/docs/codeql/support/reusables/versions-compilers.rst +++ b/docs/codeql/support/reusables/versions-compilers.rst @@ -15,7 +15,7 @@ .NET Core up to 3.1","``.sln``, ``.csproj``, ``.cs``, ``.cshtml``, ``.xaml``" Go (aka Golang), "Go up to 1.15", "Go 1.11 or more recent", ``.go`` - Java,"Java 6 to 14 [3]_","javac (OpenJDK and Oracle JDK), + Java,"Java 7 to 15 [3]_","javac (OpenJDK and Oracle JDK), Eclipse compiler for Java (ECJ) [4]_",``.java`` JavaScript,ECMAScript 2019 or lower,Not applicable,"``.js``, ``.jsx``, ``.mjs``, ``.es``, ``.es6``, ``.htm``, ``.html``, ``.xhm``, ``.xhtml``, ``.vue``, ``.json``, ``.yaml``, ``.yml``, ``.raml``, ``.xml`` [5]_" @@ -26,7 +26,7 @@ .. [1] Support for the clang-cl compiler is preliminary. .. [2] Support for the Arm Compiler (armcc) is preliminary. - .. [3] Builds that execute on Java 6 to 14 can be analyzed. The analysis understands Java 14 standard language features. + .. [3] Builds that execute on Java 7 to 15 can be analyzed. The analysis understands Java 15 standard language features. .. [4] ECJ is supported when the build invokes it via the Maven Compiler plugin or the Takari Lifecycle plugin. .. [5] JSX and Flow code, YAML, JSON, HTML, and XML files may also be analyzed with JavaScript files. .. [6] TypeScript analysis is performed by running the JavaScript extractor with TypeScript enabled. This is the default for LGTM. diff --git a/java/change-notes/2021-01-14-java-15-support.md b/java/change-notes/2021-01-14-java-15-support.md new file mode 100644 index 00000000000..44f07c865d8 --- /dev/null +++ b/java/change-notes/2021-01-14-java-15-support.md @@ -0,0 +1,2 @@ +lgtm,codescanning +* The Java extractor has been upgraded to support Java 15.