ppkarwasz opened a new issue, #3796:
URL: https://github.com/apache/logging-log4j2/issues/3796
The `GraalVmProcessor` incorrectly computes the fully qualified class name
for parameters of type array, failing to remove annotations from the array
type. As a result, the generated GraalVM metadata is invalid. For example:
```json
{
"name":
"org.apache.logging.log4j.core.pattern.RootThrowablePatternConverter",
"methods": [
{
"name": "newInstance",
"parameterTypes": [
"org.apache.logging.log4j.core.config.Configuration",
"@org.jspecify.annotations.Nullable java.lang.String[]"
]
}
],
"fields": []
}
```
This issue causes the metadata to incorrectly include the annotation in the
parameter type (`@org.jspecify.annotations.Nullable`), which cause GraalVM to
ignore the entry.
--
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]