Reproducer for #37444
This is a reproducer for an issue with injecting an Optional<List<String>>
configuration property in combination with Quarkus' native compilation.
mvn quarkus:dev
curl http://localhost:8080/hello
- Observe
injected: Optional[[a, b]]
as logger output (value from application.properties)
docker build -t reproducer-37444 .
docker run --rm -p 8080:8080 -e STUFF='b,c' reproducer-37444
curl http://localhost:8080/hello
- Observe
injected: Optional.empty
as logger output - Note that printing
located: [b, c]
proves that the env var is set