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

EnableAsync doesn't work in native-image #28710

Closed
mhalbritter opened this issue Jun 27, 2022 · 0 comments
Closed

EnableAsync doesn't work in native-image #28710

mhalbritter opened this issue Jun 27, 2022 · 0 comments
Assignees
Labels
theme: aot An issue related to Ahead-of-time processing type: enhancement A general enhancement
Milestone

Comments

@mhalbritter
Copy link
Contributor

When running the async sample from spring-native in sb-3.0.x branch in a native image, it fails. There's no exception, but the method annotated with @Async isn't executed on some worker thread but on the calling thread.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Jun 27, 2022
@sdeleuze sdeleuze added theme: aot An issue related to Ahead-of-time processing type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Jun 28, 2022
@sdeleuze sdeleuze added this to the 6.0.0-M6 milestone Jun 28, 2022
@snicoll snicoll self-assigned this Aug 12, 2022
snicoll added a commit that referenced this issue Aug 12, 2022
This registers the hints if the annotation post processor is active,
rather than statically.

See gh-28710
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme: aot An issue related to Ahead-of-time processing type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

4 participants