You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 23, 2023. It is now read-only.
After an initial report by @odrotbohm where the hacking/aot branch of https://github.com/odrotbohm/spring-restbucks demonstrated that just adding the spring-native dependency was breaking Mockito tests, we found the root cause was NativeListener setting the org.graalvm.nativeimage.imagecode system property combined with recent versions of Mockito/ByteBuddy now supporting GraalVM native image and reacting to this property.
It was done initially to increase consistency between JVM AOT and native, but it is probably better to avoid this kind of trick, and just remove any specific behavior based on org.graalvm.nativeimage.imagecode in Spring Framework 6+.
Activity
Restore previously ignored tests
Do not set native image system property in NativeListener