substitutions json ?
#3409
-
What is the general format of SubstitutionsConfig.json for native-image? Just interested in substituting a method in a class. I know how to use @TargetClass but the json might be easier. Thanks, |
Beta Was this translation helpful? Give feedback.
Answered by
olpaw
May 25, 2021
Replies: 1 comment 1 reply
-
Hi @pquiring |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
thomaswue
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @pquiring
The non-API
SubstitutionsConfig.json
format is a leftover from the past. It's implemented incom.oracle.svm.hosted.substitute.DeclarativeSubstitutionProcessor
. Except for cosmetic changes it hasn't been updated for a while.Our plan is to remove it at some point. Do not rely on it. It's mostly unmaintained.