Skip to content

[Native Image] Trivial typo: reachability-metadata.json not reachability-metadata.md #11554

Open
@edburns

Description

@edburns

Describe the Issue

Consider this message:

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. Consider including proxy configuration 
in the reflection section of reachability-metadata.md instead.. Please refer to the GraalVM release notes.

I am pretty sure the file is reachability-metadata.json not reachability-metadata.md.

Using the latest version of GraalVM can resolve many issues.

GraalVM Version

OpenJDK Runtime Environment GraalVM CE 24.0.1+9.1 (build 24.0.1+9-jvmci-b01)
OpenJDK 64-Bit Server VM GraalVM CE 24.0.1+9.1 (build 24.0.1+9-jvmci-b01, mixed mode, sharing)

Operating System and Version

macOS 15.5

Build Command

mvn -Pnative native:compile

Expected Behavior

The error message does not have a typo.

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. Consider including proxy 
configuration in the reflection section of **reachability-metadata.json** instead.. 
Please refer to the GraalVM release notes.

Actual Behavior

The error message does have a typo.

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. Consider including proxy 
configuration in the reflection section of **reachability-metadata.md** instead.. 
Please refer to the GraalVM release notes.

Steps to Reproduce

  1. Clone https://github.com/edburns/trivial-graal-error-message-issue
  2. cd trivial-graal-error-message-issue
  3. mvn clean -Pnative native:compile
  4. Observe the problematic message.

Additional Context

No response

Build Log Output and Error Messages

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. Consider including proxy
configuration in the reflection section of reachability-metadata.md instead..
Please refer to the GraalVM release notes.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions