The GitHub Actions job "Validate and test" on 
pekko-grpc.git/feature/junit6-migration has failed.
Run started by GitHub user He-Pin (triggered by He-Pin).

Head commit for run:
5dfeb37946084948d7486a0b2bcfd6e508b2b7eb / 虎鸣 <[email protected]>
fix: add --add-opens JVM args for TestKit in-process builds on JDK 17

Motivation:
TestKit's withDebug(true) runs Gradle builds in the test JVM, not in
the Gradle daemon. The daemon has --add-opens flags for Groovy 3.0.13
to access java.base internals, but the test JVM does not. This causes
NoClassDefFoundError for org.codehaus.groovy.vmplugin.v7.Java7.

Modification:
Add the same --add-opens JVM arguments to the test task that the
Gradle daemon uses, matching Gradle 7.6.4's own requirements.

Result:
Groovy initializes correctly in TestKit in-process builds on JDK 17+.

Report URL: https://github.com/apache/pekko-grpc/actions/runs/28283895517

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to