Support SpringBoot nested jar file
- Dominant language
- Java
- Stars
- 11.5k
- Forks
- 402
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 20
Description
When we use pkl config in Java SprintBoot application
We will get error
```
Caused by: org.pkl.core.PklException: –– Pkl Error ––
Refusing to load module `jar:nested:/app.jar/!BOOT-INF/classes/!/config/dev.pkl` because it does not match any entry in the module allowlist (`--allowed-modules`).
```
it's because jar:nested isn't include in allow-modules.
we could fix it by add it into allowModules and change defaultTrustLevel, but how about add jar:nested into java default configuration?
Contributor guide
Research direction
Start by reproducing the Spring Boot nested-jar error and reviewing how allowModules and defaultTrustLevel handle the jar:nested URL scheme. Done means deciding whether the Java default configuration should support this scheme and covering that decision with appropriate tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring-boot
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100