Skip to content

[Minimal backport] Make the models compile with JDK 25 - #52

Open
tautschnig wants to merge 1 commit into
masterfrom
cbmc-jdk25
Open

tautschnig wants to merge 1 commit into
masterfrom
cbmc-jdk25

Conversation

@tautschnig

Copy link
Copy Markdown
Collaborator

Backport of the Object.java and Class.java changes of the JDK 25 fix (#49) to the version of the models that CBMC uses (c783534): java.lang.Object initialises cproverMonitorCount in its declaration rather than in its constructor, which javac 22 and newer reject as a statement before super() with -source 8, and java.lang.Class no longer calls ClassLoader.checkClassLoaderPermission, which no longer exists in JDK 24 and newer.

Backport of the Object.java and Class.java changes of the JDK 25 fix
to the version of the models that CBMC uses (c783534): java.lang.Object
initialises cproverMonitorCount in its declaration rather than in its
constructor, which javac 22 and newer reject as a statement before
super() with -source 8, and java.lang.Class no longer calls
ClassLoader.checkClassLoaderPermission, which no longer exists in JDK
24 and newer.

Co-authored-by: Kiro <kiro-agent@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 23, 2026 11:41

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants