Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt to native-image reflection changes #38669

Open
mhalbritter opened this issue Dec 6, 2023 · 2 comments
Open

Adapt to native-image reflection changes #38669

mhalbritter opened this issue Dec 6, 2023 · 2 comments
Labels
status: blocked An issue that's blocked on an external project change theme: aot An issue related to Ahead-of-time processing type: task A general task
Milestone

Comments

@mhalbritter
Copy link
Contributor

mhalbritter commented Dec 6, 2023

GraalVM has some changes regarding reflection lined up:

  1. Querying methods, ctors, fields, etc. enabled by default for registered classes
  2. 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 spring-projects/spring-framework#31213.

@mhalbritter mhalbritter added type: task A general task status: blocked An issue that's blocked on an external project change theme: aot An issue related to Ahead-of-time processing labels Dec 6, 2023
@mhalbritter mhalbritter added this to the 3.x milestone Dec 6, 2023
@mhalbritter
Copy link
Contributor Author

There's also this new --strict-image-heap, which shouldn't affect us that much as we don't rely on build time init.

@mhalbritter
Copy link
Contributor Author

Issue on GraalVM side: oracle/graalvm-reachability-metadata#499

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: blocked An issue that's blocked on an external project change theme: aot An issue related to Ahead-of-time processing type: task A general task
Projects
None yet
Development

No branches or pull requests

1 participant