-
Notifications
You must be signed in to change notification settings - Fork 354
MockitoPostProcessor should be disabled in AOT since not supported yet #1343
Comments
Yes. One parameter there is not supported, I'll have a look. |
That's |
So I've managed to disable it but as we don't trigger any initializer at runtime anymore, the infrastructure is not created at all and it fails with:
Considering that mockito doesn't work in native, it would be nice to go a little further and skip the whole infrastructure but no injection would be equally confusing as this stacktrace IMO. |
Can be reproduced via https://github.com/ddn4/spring-stocks with |
Meaningful error messages are now provided when |
While working on #1084 updated to Spring Native
0.11.0-SNAPSHOT
and following the same repro instructions with https://github.com/sdeleuze/spring-cloud-stream-event-routing-cloudevents, I see the following error during AOT code generation:Any thoughts @snicoll ?
The text was updated successfully, but these errors were encountered: