Skip to content

Missing reflection hint on Publisher for bean destroy methods support #31278

New issue

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

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

Already on GitHub? # to your account

Closed
bclozel opened this issue Sep 20, 2023 · 0 comments
Closed

Missing reflection hint on Publisher for bean destroy methods support #31278

bclozel opened this issue Sep 20, 2023 · 0 comments
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) theme: aot An issue related to Ahead-of-time processing type: bug A general bug
Milestone

Comments

@bclozel
Copy link
Member

bclozel commented Sep 20, 2023

See #31213 for background.

DisposableBeanAdapter detects the presence of org.reactivestreams.Publisher on the classpath and checks whether the bean destroy method is of that type. We need to register a reflection hint on the Publisher type for that.

@bclozel bclozel added type: bug A general bug in: core Issues in core modules (aop, beans, core, context, expression) theme: aot An issue related to Ahead-of-time processing labels Sep 20, 2023
@bclozel bclozel added this to the 6.1.0-RC1 milestone Sep 20, 2023
@bclozel bclozel self-assigned this Sep 20, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) theme: aot An issue related to Ahead-of-time processing type: bug A general bug
Projects
None yet
Development

No branches or pull requests

1 participant