Sitelet https://web.archive.org/web/20260606015321/https://github.com/github/codeql/issues/8673
Skip to content

Add support for jdk18 #8673

@mattdailis

Description

@mattdailis

Description of the issue

JDK 18 has just been released, and we'd like to update our project to use it. However, our CodeQL Github Action is running into some trouble running our (gradle) build:

> Task :merlin-sdk:compileJava FAILED
[ODASA Javac] Unsupported Java specification version 18

Here is the output of codeql version --format=json:

  {
    "productName" : "CodeQL",
    "vendor" : "GitHub",
    "version" : "2.8.4",
    "sha" : "5704cd3450dd82e71f1d1df4428f60ec2839ceb4",
    "branches" : [
      "codeql-cli-2.8.4"
    ],
    "copyright" : "Copyright (C) 2019-2022 GitHub, Inc.",
    "unpackedLocation" : "/opt/hostedtoolcache/CodeQL/0.0.0-20220322/x64/codeql",
    "configFileLocation" : "/home/runner/.config/codeql/config",
    "configFileFound" : false
  }

Here is the PR in which we are upgrading to Java 18: NASA-AMMOS/plandev#129

Here is the Github Action run of CodeQL that contained the above messages: https://github.com/NASA-AMMOS/aerie/runs/5844585137

Thank you!

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions