Skip to content

Disable AppCDS on Java 26+ - #4515

Merged
datho7561 merged 1 commit into
redhat-developer:mainfrom
MeherSru:fix-4511-appcds-java26
Sep 29, 2026
Merged

datho7561 merged 1 commit into
redhat-developer:mainfrom
MeherSru:fix-4511-appcds-java26

Conversation

@MeherSru

Copy link
Copy Markdown
Contributor

Fixes #4511

-XX:+AllowArchivingWithJavaAgent was removed in Java 26, and without it AppCDS doesn't work with a -javaagent. So this skips AppCDS on Java 26+.

Tested with Java 26 (server starts) and Java 25 (AppCDS still works).

@datho7561 datho7561 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good. Thanks, Meher!

@datho7561
datho7561 merged commit b7b8713 into redhat-developer:main Sep 29, 2026
2 checks passed
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.

JDT.LS fails to start with "Unrecognized VM option 'AllowArchivingWithJavaAgent'"

2 participants