ppkarwasz opened a new pull request, #3797:
URL: https://github.com/apache/logging-log4j2/pull/3797

   This update fixes the GraalVM reachability metadata generation for methods 
with annotated array parameters, such as `@Nullable String[]`.
   
   Previously, the code computed the fully qualified class name for the 
parameter using the **raw** type, which retained the annotations (e.g., 
`@org.jspecify.annotations.Nullable java.lang.String`). This resulted in 
incorrect metadata that was ignored by GraalVM.
   
   The issue is resolved by transforming the `DeclaredType` into a 
`TypeElement`, effectively removing any annotations, and then calling 
`getQualifiedName()` to correctly generate the fully qualified class name 
without annotations.
   


-- 
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-unsubscr...@logging.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to