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+.
The text was updated successfully, but these errors were encountered:
After an initial report by @odrotbohm where the
hacking/aot
branch of https://github.com/odrotbohm/spring-restbucks demonstrated that just adding thespring-native
dependency was breaking Mockito tests, we found the root cause wasNativeListener
setting theorg.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+.The text was updated successfully, but these errors were encountered: