From 1b717f28dabb52170c27e70cf79f1c4551781d5e Mon Sep 17 00:00:00 2001 From: Fabio Niephaus Date: Thu, 31 Aug 2023 08:40:05 +0200 Subject: [PATCH] Mark `ConfigurationFileDirectories` as stable. This option is used, for example, by Native Build Tools to inject metadata generated with the agent or from the reachability metadata repository. --- .../src/com/oracle/svm/core/configure/ConfigurationFiles.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/configure/ConfigurationFiles.java b/substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/configure/ConfigurationFiles.java index e087ccd0e199d..c78a2ea1d5ee2 100644 --- a/substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/configure/ConfigurationFiles.java +++ b/substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/configure/ConfigurationFiles.java @@ -35,6 +35,7 @@ import java.util.stream.Stream; import org.graalvm.compiler.options.Option; +import org.graalvm.compiler.options.OptionStability; import org.graalvm.compiler.options.OptionType; import com.oracle.svm.core.option.BundleMember; @@ -49,7 +50,7 @@ public final class ConfigurationFiles { public static final class Options { - @Option(help = "Directories directly containing configuration files for dynamic features at runtime.", type = OptionType.User)// + @Option(help = "Directories directly containing configuration files for dynamic features at runtime.", type = OptionType.User, stability = OptionStability.STABLE)// @BundleMember(role = BundleMember.Role.Input)// static final HostedOptionKey ConfigurationFileDirectories = new HostedOptionKey<>(LocatableMultiOptionValue.Paths.buildWithCommaDelimiter());