eclipse-ee4j / eclipse-ee4j/yasson
Get a warning '-H:IncludeResourceBundles=yasson-messages' is experimental
- Dominant language
- Java
- Stars
- 218
- Forks
- 109
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 9
Description
**Describe the bug**
Getting a warning during native image compilation when `io.quarkus:quarkus-jsonb:jar:3.6.4` is included as a dependency in GraalVM Native image builds.
`Warning: The option '-H:IncludeResourceBundles=yasson-messages' is experimental and must be enabled via '-H:+UnlockExperimentalVMOptions' in the future.`
```
[INFO] +- io.quarkus:quarkus-jsonb:jar:3.6.4:compile
[INFO] | \- org.eclipse:yasson:jar:3.0.3:compile
```
**System information:**
- OS: Linux
- Java Version: openjdk version "21.0.1" 2023-10-17
OpenJDK Runtime Environment GraalVM CE 21.0.1-dev+12.1 (build 21.0.1+12-jvmci-23.1-b22)
OpenJDK 64-Bit Server VM GraalVM CE 21.0.1-dev+12.1 (build 21.0.1+12-jvmci-23.1-b22, mixed mode, sharing)
- Yasson Version: 3.0.3, 3.0.4-SNAPSHOT
Contributor guide
Research direction
Reproduce a GraalVM Native Image build using io.quarkus:quarkus-jsonb:3.6.4 and org.eclipse:yasson:3.0.3, then trace where the yasson-messages resource bundle option is configured. Done means the native image build no longer emits the experimental-option warning, with relevant coverage added if the project has a suitable test location.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100