Skip to content

Restore Java 17 compatible CAS client#19361

Open
xfocus3 wants to merge 1 commit into
spring-projects:mainfrom
xfocus3:gh-19325-cas-java17-baseline
Open

Restore Java 17 compatible CAS client#19361
xfocus3 wants to merge 1 commit into
spring-projects:mainfrom
xfocus3:gh-19325-cas-java17-baseline

Conversation

@xfocus3

@xfocus3 xfocus3 commented Jun 19, 2026

Copy link
Copy Markdown

Fixes gh-19325.

cas-client-core 4.1.x is built with Java 21 bytecode (class file major 65), which is above Spring Security's Java 17 baseline. This restores 4.0.4, whose artifacts are Java 17 bytecode (major 61).

Verification:

  • confirmed cas-client-core 4.1.1 has max class file major 65 and 4.0.4 has max class file major 61
  • ./gradlew :spring-security-cas:dependencyInsight --configuration runtimeClasspath --dependency org.apereo.cas.client:cas-client-core --no-daemon
  • ./gradlew :spring-security-cas:test --no-daemon
  • git diff --check

Signed-off-by: Ahmed El amraouiyine <amraouiyine@gmail.com>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jun 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: waiting-for-triage An issue we've not yet triaged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dependency regression: cas-client-core 4.1.x in Spring Security 7.1.0 breaks Java 17 baseline compatibility

2 participants