[HN Gopher] Supporting org.apache.xml.security in graalVM
___________________________________________________________________
Supporting org.apache.xml.security in graalVM
Author : whizzx
Score : 28 points
Date : 2025-08-13 13:03 UTC (9 hours ago)
(HTM) web link (guust.ysebie.be)
(TXT) w3m dump (guust.ysebie.be)
| _1tan wrote:
| Weird coincidence. I work on a software cryptographic module and
| we worked on this exact same thing today and came to a similar
| solution.
| sushidev wrote:
| One more data point: One can run the app with an agent, and then
| run actions in that app to execute the relevant code paths. This
| will generate the reflection json file automatically.
| sgammon wrote:
| This is great, but you should post it to:
| https://github.com/oracle/graalvm-reachability-metadata
|
| ... as a PR, so that, when merged, other users can pull it into
| their build automatically, merely by looking up from the relevant
| dependency's maven coordinates.
|
| You can also ship this metadata as part of _the library artifact
| itself_ [1], by placing configurations at the JAR resource path
| `META-INF/native-image/<group-id>/<artifact-id>/reachability-
| metadata.json`, etc
|
| [1]: https://www.graalvm.org/latest/reference-manual/native-
| image...
___________________________________________________________________
(page generated 2025-08-13 23:02 UTC)