Skip to content

Commit

Permalink
[GR-54733] Warn about deprecated config files in META-INF directories
Browse files Browse the repository at this point in the history
PullRequest: graal/18029
  • Loading branch information
loicottet committed Jun 20, 2024
2 parents adf41a2 + 362b194 commit 5fc14c4
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
import java.util.stream.Collectors;
import java.util.stream.Stream;

import com.oracle.svm.core.option.AccumulatingLocatableMultiOptionValue;
import com.oracle.svm.core.option.BundleMember;
import com.oracle.svm.core.option.HostedOptionKey;
import com.oracle.svm.core.option.AccumulatingLocatableMultiOptionValue;
import com.oracle.svm.core.option.OptionMigrationMessage;
import com.oracle.svm.core.util.UserError;

Expand Down Expand Up @@ -75,7 +75,9 @@ public static final class Options {
@BundleMember(role = BundleMember.Role.Input)//
public static final HostedOptionKey<AccumulatingLocatableMultiOptionValue.Paths> DynamicProxyConfigurationFiles = new HostedOptionKey<>(
AccumulatingLocatableMultiOptionValue.Paths.buildWithCommaDelimiter());
@Option(help = "Resources describing program elements to be made available for reflection (see ProxyConfigurationFiles).", type = OptionType.User, deprecated = true)//
@Option(help = "Resources describing program elements to be made available for reflection (see ProxyConfigurationFiles).", type = OptionType.User, deprecated = true, //
deprecationMessage = "This can be caused by a proxy-config.json file in your META-INF directory. " +
"Consider including proxy configuration in the reflection section of reachability-metadata.md instead.")//
public static final HostedOptionKey<AccumulatingLocatableMultiOptionValue.Strings> DynamicProxyConfigurationResources = new HostedOptionKey<>(
AccumulatingLocatableMultiOptionValue.Strings.buildWithCommaDelimiter());

Expand Down

0 comments on commit 5fc14c4

Please sign in to comment.