Skip to content

Support JDK 17 #16857

@mmoayyed

Description

@mmoayyed

Expected Behavior

Gradle should be able to build using JDK 17.

Current Behavior

Expectedly so, Gradle 7 reports:

> Could not open proj generic class cache for build file '/home/runner/work/cas/cas/build.gradle' (/home/runner/.gradle/caches/7.0/scripts/7svr5eftu6yyc0wrrcr0ex12d).
   > BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 61

Context

Apereo CAS is part of the Oracle JDK Compatibility program, and we are trying to help the JDK ecosystem by trying out latest versions of JDK to report feedback, issues, etc. This is no blocker at all and we can continue with JDK 16 builds. I did not see a relevant issue to track support for JDK 17, so thought to open one here.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions