Skip to content

Conversation

@lissam1
Copy link
Member

@lissam1 lissam1 commented Sep 30, 2025

No description provided.

@lissam1 lissam1 requested a review from sdelamo September 30, 2025 09:10
@lissam1 lissam1 linked an issue Sep 30, 2025 that may be closed by this pull request
Copy link
Contributor

@sdelamo sdelamo left a comment

Choose a reason for hiding this comment

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

tests were failing due to micronaut-projects/micronaut-gradle-plugin#1165

I added the junit-platform dependency

@sdelamo sdelamo requested a review from melix October 3, 2025 06:44
Copy link
Contributor

@melix melix left a comment

Choose a reason for hiding this comment

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

We should investigate the build failure on Windows. Looks like the workflow might be not installing GraalVM correctly or something.

@radovanradic
Copy link
Contributor

Getting this error in micronaut-data graalvm test when upgrading to 4.5.5

Error: An object of type 'org.junit.platform.launcher.EngineDiscoveryResult$Status' was found in the image heap. This type, however, is marked for initialization at image run time for the following reason: classes are initialized at run time by default.
This is not allowed for correctness reasons: All objects that are stored in the image heap must be initialized at build time.

You now have two options to resolve this:

1) If it is intended that objects of type 'org.junit.platform.launcher.EngineDiscoveryResult$Status' are persisted in the image heap, add 

    '--initialize-at-build-time=org.junit.platform.launcher.EngineDiscoveryResult$Status'
...

Is this related?

@sdelamo
Copy link
Contributor

sdelamo commented Oct 3, 2025

@radovanradic I don't think the error is related:

ANTLR Tool version 4.7.2 used for code generation does not match the current runtime version 4.8ANTLR Runtime version 4.7.2 used for parser compilation does not match the current runtime version 4.8ANTLR Tool version 4.7.2 used for code generation does not match the current runtime version 4.8ANTLR Runtime version 4.7.2 used for parser compilation does not match the current runtime version 4.8

[Incubating] Problems report is available at: file:///D:/a/micronaut-starter/micronaut-starter/build/reports/problems/problems-report.html
FAILURE: Build failed with an exception.

* Where:
Build file 'D:\a\micronaut-starter\micronaut-starter\build.gradle' line: 5

I think we are not going to update Micronaut Launch to 4.5.5 until this is solved.

@sdelamo sdelamo changed the base branch from 4.9.x to 4.10.x October 17, 2025 04:39
@sdelamo sdelamo changed the title Update Micronaut gradle plugins to 4.5.5 Update Micronaut gradle plugins to 4.6.0 Oct 17, 2025
@sdelamo sdelamo merged commit 1e79aab into 4.10.x Oct 17, 2025
6 of 13 checks passed
@sdelamo sdelamo deleted the update-gradle-plugins branch October 17, 2025 04:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

Update Micronaut gradle plugins to 4.5.5

4 participants