Skip to content

[java] Add Support for Java 25 - #5872

Merged
adangel merged 9 commits into
pmd:mainfrom
adangel:java/issue-5478-support-java-25
Jul 22, 2025
Merged

adangel merged 9 commits into
pmd:mainfrom
adangel:java/issue-5478-support-java-25

Conversation

@adangel

@adangel adangel commented Jul 3, 2025 •

Copy link
Copy Markdown
Member

Describe the PR

Adds support for Java 25.

Related issues

Ready?

  • Added unit tests for fixed bug/feature
  • Passing all unit tests
  • Complete build ./mvnw clean verify passes (checked automatically by github actions)
  • Added (in-code) documentation (if needed)

@adangel adangel added this to the 7.16.0 milestone Jul 3, 2025
@adangel
adangel requested a review from oowekyala July 3, 2025 15:52
@adangel adangel mentioned this pull request Jul 3, 2025
12 tasks done
@github-actions

github-actions Bot commented Jul 3, 2025 •

Copy link
Copy Markdown

Documentation Preview

Compared to main:
This changeset changes 0 violations,
introduces 0 new violations, 0 new errors and 0 new configuration errors,
removes 0 violations, 0 errors and 0 configuration errors.

Regression Tester Report

(comment created at 2025-07-19 17:21:05+00:00 for 9e925e1)

adangel added a commit that referenced this pull request Jul 19, 2025
This reverts commit 8aa3c48.

This is actually part of #5872
adangel added a commit that referenced this pull request Jul 22, 2025
* Bump kotlin.version from 1.9.24 to 2.2.0

Bumps `kotlin.version` from 1.9.24 to 2.2.0.

Updates `org.jetbrains.kotlin:kotlin-stdlib` from 1.9.24 to 2.2.0
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](JetBrains/kotlin@v1.9.24...v2.2.0)

Updates `org.jetbrains.kotlin:kotlin-stdlib-jdk8` from 1.9.24 to 2.2.0
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](JetBrains/kotlin@v1.9.24...v2.2.0)

Updates `org.jetbrains.kotlin:kotlin-reflect` from 1.9.24 to 2.2.0
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](JetBrains/kotlin@v1.9.24...v2.2.0)

Updates `org.jetbrains.kotlin:kotlin-test-junit` from 1.9.24 to 2.2.0
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](JetBrains/kotlin@v1.9.24...v2.2.0)

Updates `org.jetbrains.kotlin:kotlin-maven-plugin` from 1.9.24 to 2.2.0

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib
  dependency-version: 2.2.0
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib-jdk8
  dependency-version: 2.2.0
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: org.jetbrains.kotlin:kotlin-reflect
  dependency-version: 2.2.0
  dependency-type: direct:development
  update-type: version-update:semver-major
- dependency-name: org.jetbrains.kotlin:kotlin-test-junit
  dependency-version: 2.2.0
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: org.jetbrains.kotlin:kotlin-maven-plugin
  dependency-version: 2.2.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* Use kotlin 1.9 for compatibility

* Fix dokka-maven-plugin for Java 25

* Fix Java Tests for Java 25

* Revert "Fix Java Tests for Java 25"

This reverts commit 8aa3c48.

This is actually part of #5872

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andreas Dangel <[email protected]>
@adangel
adangel merged commit 0ef4d83 into pmd:main Jul 22, 2025
@adangel
adangel deleted the java/issue-5478-support-java-25 branch July 22, 2025 17:30
@Pankraz76

Copy link
Copy Markdown
Contributor

thanks a lot of effort spend.

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.

[java] Support Java 25

2 participants