The GitHub Actions job "Licensing - RAT Report" on 
grails-core.git/fix/aot-live-instance-beans-8.0.x has failed.
Run started by GitHub user codeconsole (triggered by codeconsole).

Head commit for run:
3206f6055440034066b18cc8d1de0c2b93c0b964 / Scott Murphy Heiberg 
<[email protected]>
Read the Spring Security version without nested reflection

The welcome page shows the Spring Security version only when the dependency is
present, and reached it with Class.getMethod('getVersion').invoke(null). Calling
Method.invoke from a GSP expression goes through Groovy's dynamic dispatch, 
which
resolves to the private caller-sensitive overload the JDK added for core 
reflection.
A native image cannot supply the caller argument that overload requires and 
aborts
the process rather than raising an exception.

Spring's ReflectionUtils performs the invocation from Java, so Groovy never
dispatches on Method.invoke itself. The presence check is unchanged, which 
keeps the
page compiling for generated applications that did not select Spring Security.

Both copies of the page are updated: the one the profiles CLI writes into a new
application and the one grails-forge serves.

Report URL: https://github.com/apache/grails-core/actions/runs/31071754847

With regards,
GitHub Actions via GitBox

Reply via email to