Closed
Description
Currently you have to declare each class defined in a META-INF/services
file and loaded via ServiceLoader
in a reflection.json when using nativeimage
.
This seems counter intuitive as the classes are already declared ahead of time. The nativeimage
tool should scan the META-INF/services
and include them automatically or there should be a flag to enable the ability to do this, otherwise every Java project has to write some build tool to extract all the META-INF/services
classes and generate a reflection.json
file.
Relates to #470
Metadata
Metadata
Assignees
Labels
No labels