You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@grails.apache.org by "jamesfredley (via GitHub)" <gi...@apache.org> on 2026/10/02 01:46:42 UTC
Re: [I] Grails 4 allows Controller to extend a non-trait. Core dumps in Grails 5 [grails-core]
jamesfredley commented on issue #12443:
URL: https://github.com/apache/grails-core/issues/12443#issuecomment-5944057187
This crash is the Spring Loaded agent, not controller inheritance.
Jeff Brown''s sample of a controller extending a plain ``BaseController`` did not crash. The reporter then isolated it to ``agent "org.springframework:springloaded:1.3.0.BUILD-20210404.024037-2"``, and Jeff reproduced the ``SIGSEGV`` at ``pc=0x0`` only after adding that agent, on Zulu 8. The ``hs_err`` frame is the JVM dying inside ``AbstractMethodError.<init>``.
A controller may still extend a class. ``ResponseRenderer.render(Map)`` still sets ``modelAndView`` through ``GroovyObject.setProperty``. Spring Loaded is no longer part of Grails: 705f5410d8 (2025-09-24, #14993) removed it, and ``8.0.x`` (``d13aa332``) has no ``springloaded`` reference. That commit is in the 7.0.0 through 7.2.4 tags and in ``v8.0.0-M1`` through ``v8.0.0-RC2``.
Closing as not a Grails core defect.
--
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: notifications-unsubscribe@grails.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org