Pre-check

  • [x] I am sure that all the content I provide is in English.

Search before asking

  • [x] I had searched in the issues and found no similar feature requirement.

Apache Dubbo Component

Java SDK (apache/dubbo)

Descriptions

Please add support for JDK 25. This includes:

  • [ ] Verifying current build and test pipelines under JDK 25

  • [ ] Fixing any compilation/runtime issues that arise from changes in JDK 25

  • [ ] Updating CI to include JDK 25 in the test matrix

  • [ ] Updating documentation to reflect JDK 25 support

Related issues

No response

Are you willing to submit a pull request to fix on your own?

  • [ ] Yes I am willing to submit a pull request on my own!

Code of Conduct

Comment From: AnsarMahir

Hi, I would love to take on this. Can you assign me this issue and provide me some guidance on dubbo itself and related to this specific issue. Thanks in advance

Comment From: RainYuY

Hi, I would love to take on this. Can you assign me this issue and provide me some guidance on dubbo itself and related to this specific issue. Thanks in advance

Sure.

Comment From: RainYuY

Hi, I would love to take on this. Can you assign me this issue and provide me some guidance on dubbo itself and related to this specific issue. Thanks in advance

Is it still in progress?

Comment From: AnsarMahir

@RainYuY Hey, I was just going through the documents of dubbo to understand the application first. I'm still in this ticket, probably I will be able to give you an update on progress by next week. Sorry for the delay as packed with academics :)

Comment From: RainYuY

@RainYuY Hey, I was just going through the documents of dubbo to understand the application first. I'm still in this ticket, probably I will be able to give you an update on progress by next week. Sorry for the delay as packed with academics :)

It’s fine, just go ahead as planned. I’m just checking on the progress.

Comment From: sanjyot242

Hi @AnsarMahir @RainYuY , I hope you're doing well. I saw you were assigned to this issue and was wondering if you've had a chance to make any progress. I'm interested in contributing and would be happy to help out or take it over if you're busy with your academic work. Please let me know what you think.

Comment From: sanjyot242

Hi @AnsarMahir @RainYuY . I would really like to take this if it's available.

Comment From: RainYuY

Hi @AnsarMahir @RainYuY . I would really like to take this if it's available.

Just submit the PR, and we will review it.

Comment From: AnsarMahir

@RainYuY Hey, I did clone the project and was trying to compile the project locally. I tried different ways but get stuck on this error

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.6.0:check (checkstyle-validation) on project dubbo-parent: Execution checkstyle-validation of goal org.apache.maven.plugins:maven-checkstyle-plugin:3.6.0:check failed: Plugin org.apache.maven.plugins:maven-checkstyle-plugin:3.6.0 or one of its dependencies could not be resolved: Could not find artifact com.puppycrawl.tools:checkstyle:jar:3.2.2 in central (https://repo.maven.apache.org/maven2) -> [Help 1]
[ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

I did check the maven repository, but was not able to find version 3.2.2 there I replaced it with an available version (eg : 10.22.0 ) and the compile process did not encounter the above error but encountered another error as below

ERROR] Failed to execute goal com.diffplug.spotless:spotless-maven-plugin:2.44.5:check (default) on project dubbo-common: Execution default of goal com.diffplug.spotless:spotless-maven-plugin:2.44.5:check failed: An API incompatibility was encountered while executing com.diffplug.spotless:spotless-maven-plugin:2.44.5:check: java.lang.NoSuchMethodError: 'java.util.Queue com.sun.tools.javac.util.Log$DeferredDiagnosticHandler.getDiagnostics()'

Is the new error is due to the version 10.22.0 that I used for checkstyle or is it something else? How should I approch this correctly to avoid the checkstyke error and complete the compilation correctly ?

OS - Ubuntu 24.04 IDE - Intellij Ultimate