jamesfredley opened a new pull request, #15427: URL: https://github.com/apache/grails-core/pull/15427
## Summary - When Undertow is selected as the servlet container in grails-forge, the generated `build.gradle` now includes `runtimeOnly "org.jboss.threads:jboss-threads:3.9.2"` - This fixes the `sun.misc.Unsafe::objectFieldOffset` warning on Java 25 caused by undertow-core pulling in jboss-threads 3.7.0, which calls the terminally deprecated API in its static initializer - Version is managed centrally in the forge's `pom.xml` using the `lookupArtifactId` pattern, consistent with how other third-party dependency versions are stored ## Changes | File | Change | |------|--------| | `grails-forge/.../pom.xml` | Added `jboss-threads:3.9.2` dependency entry | | `grails-forge/.../SpringBootUndertowFeature.java` | Added `runtimeOnly` dependency via `lookupArtifactId` | | `grails-forge/.../SpringBootSpec.groovy` | Added test verifying jboss-threads appears in generated build | ## Testing All 5 `SpringBootSpec` tests pass, including the new `test undertow servlet includes jboss-threads dependency` test. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
