How can I add a packge to the reflection support on Graalvm?

Viewed 768

Is it possible to add a package in the reflection-config.json? Something like:

[
  {
    "name" : "org.apache.tinkerpop.shaded.kryo.serializers.*",
    "allDeclaredConstructors" : true
  }
}

Instead of doing it one by one.

Thanks :)

3 Answers

I am using tracing agent features to auto generate a list for reflection/jni/resources, this should be quite convenient until one day the wildcard features is implemented. (I bet it will not be implemented due to performance concern.)

Related