Skip to content

Commit

Permalink
Allow list proxy config warning for JFR tests
Browse files Browse the repository at this point in the history
Also change the pattern for the 24.2 deprecation message
which was wrong in 4a1e66c.

Closes: #261
  • Loading branch information
jerboaa committed Jul 1, 2024
1 parent 4a1e66c commit d267efb
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public Pattern[] get(boolean inContainer) {
// Upstream GraalVM issue due to changed metadata format. See https://github.com/oracle/graal/issues/9057
// and https://github.com/oracle/graal/commit/5fc14c42fd8bbad0c8e661b4ebd8f96255f86e6b
Pattern.compile(".*Warning: Option 'DynamicProxyConfigurationResources' is deprecated and might be removed in a future release\\. Please refer to the GraalVM release notes.*"),
Pattern.compile(".*Warning: Option 'DynamicProxyConfigurationResources' is deprecated and might be removed in a future release\\. This can be caused by a proxy-config.json file in your META-INF directory.*"),
Pattern.compile(".*Warning: Option 'DynamicProxyConfigurationResources' is deprecated and might be removed in a future release: This can be caused by a proxy-config.json file in your META-INF directory.*"),
// Dependency sources plugin may produce this warning on some systems. See https://issues.apache.org/jira/browse/MNG-7706
Pattern.compile(".*\\[WARNING\\] Parameter 'local' is deprecated core expression; Avoid use of ArtifactRepository type\\. If you need access to local repository, switch to .* expression and get LRM from it instead\\..*"),
};
Expand Down Expand Up @@ -286,6 +286,10 @@ public Pattern[] get(boolean inContainer) {
Pattern.compile(".*Warning: The option '-H:ReflectionConfigurationResources=META-INF/native-image/io\\.netty/netty-transport/reflection-config\\.json' is experimental and must be enabled via.*"),
// MacOS https://github.com/quarkusio/quarkus/issues/40938
Pattern.compile(".*Can not find io.netty.resolver.dns.macos.MacOSDnsServerAddressStreamProvider.*"),
// Upstream GraalVM issue due to changed metadata format. See https://github.com/oracle/graal/issues/9057
// and https://github.com/oracle/graal/commit/5fc14c42fd8bbad0c8e661b4ebd8f96255f86e6b
Pattern.compile(".*Warning: Option 'DynamicProxyConfigurationResources' is deprecated and might be removed in a future release\\. Please refer to the GraalVM release notes.*"),
Pattern.compile(".*Warning: Option 'DynamicProxyConfigurationResources' is deprecated and might be removed in a future release: This can be caused by a proxy-config.json file in your META-INF directory.*"),
};
}
}
Expand Down

0 comments on commit d267efb

Please sign in to comment.