Skip to content

Conversation

@lkishalmi
Copy link
Contributor

Well, this upgrade was not that easy as I thought would be. Mostly due to the Micronaut based test projects were too old to work with Gradle 9, and when I upgraded the Micronaut plugin version some tests needed some adjustments as well.

During testing I've found some API design issues, those would be addressed later (if ever).

I think there are some Micronaut mines still out there, so I mark this one Draft till I can cover those.

@lkishalmi lkishalmi requested review from mbien and sdedic December 28, 2025 23:41
@lkishalmi lkishalmi added Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) Gradle [ci] enable "build tools" tests Micronaut [ci] enable enterprise job labels Dec 28, 2025
this.value = value;
this.name = propertyName;
}
public static final record Property(Object id, String scope, String name, PropertyKind kind, String type, String value) {
Copy link
Member

Choose a reason for hiding this comment

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

nit: records are implicitly final and static

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh. I left that change unintentionally there. I just needed a quick and good toString() method for debugging.

Well, if it made there let's keep that, I'll just remove the static final in the upcoming commit.

Copy link
Member

Choose a reason for hiding this comment

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

its something we could also add as editor hint. I put it on my TODO list ;)

@mbien
Copy link
Member

mbien commented Dec 29, 2025

found this in my stash as leftover of #8814 which might be needed on newer gradle versions:

diff --git a/java/gradle.dependencies/test/unit/data/projects/multi/oci/build.gradle b/java/gradle.dependencies/test/unit/data/projects/multi/oci/build.gradle
index ef7b070ca4..0eff699006 100644
--- a/java/gradle.dependencies/test/unit/data/projects/multi/oci/build.gradle
+++ b/java/gradle.dependencies/test/unit/data/projects/multi/oci/build.gradle
@@ -31,7 +31,7 @@ java {
 }
 
 task testJar(type: Jar) {
-    classifier = 'tests'
+    archiveClassifier = 'tests'
     from sourceSets.test.output
 }

@lkishalmi
Copy link
Contributor Author

The java.lsp.server is somehow failing on GitHub. I can't reproduce that locally. Anyone has any idea what could happen there?

@mbien
Copy link
Member

mbien commented Jan 5, 2026

The java.lsp.server is somehow failing on GitHub. I can't reproduce that locally. Anyone has any idea what could happen there?

it's tests are known to be unreliable. Might be just bad luck and we have to restart it a few times more.

btw if you want that CI is running the gradle tests on JDK 25 too, all you have to do is remove the if-conditions at

if: ${{ matrix.java == '17' || matrix.java == '21' }}

(the other gradle modules are right below)

@lkishalmi
Copy link
Contributor Author

The java.lsp.server is somehow failing on GitHub. I can't reproduce that locally. Anyone has any idea what could happen there?

it's tests are known to be unreliable. Might be just bad luck and we have to restart it a few times more.

btw if you want that CI is running the gradle tests on JDK 25 too, all you have to do is remove the if-conditions at

if: ${{ matrix.java == '17' || matrix.java == '21' }}

(the other gradle modules are right below)

Need a bit more than that, though I have that change ready to commit.

@mbien
Copy link
Member

mbien commented Jan 5, 2026

LSP test is now green

@lkishalmi lkishalmi marked this pull request as ready for review January 5, 2026 14:45
@lkishalmi
Copy link
Contributor Author

This one is ready for review, keeping #9125 in mind.

@neilcsmith-net
Copy link
Member

Thanks for looking at this. My one question would be whether there is a particular reason to choose a release candidate over 9.2.1? Assuming this is targetting NB29? Need to ensure we don't release with the rc.

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

Labels

Gradle [ci] enable "build tools" tests Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) Micronaut [ci] enable enterprise job

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants