spring-projects / spring-projects/spring-boot
Adapt to native-image reflection changes
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 81.5k
- Forks
- 42.7k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 65
Description
GraalVM has some changes regarding reflection lined up:
- Querying methods, ctors, fields, etc. enabled by default for registered classes
- Throw exception if metadata is missing
Until 1. is done, we should not tackle 2, as 1. will remove a lot of places where 2. would fail.
When 1. is done, Spring Framework needs to adapt the RuntimeHints API to use the new metadata field.
For reference, Spring Framework already did some adaption related to this in https://github.com/spring-projects/spring-framework/issues/31213.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the GraalVM issues linked in the description and the existing RuntimeHints API changes referenced from Spring Framework issue 31213. Wait for GraalVM's registered-class querying change, then identify the Spring Boot integration points that depend on the current metadata field. Done means RuntimeHints is adapted without addressing missing-metadata exceptions prematurely.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100