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
A SpringBoot test like this is freezing when InlineByteBuddyMockMaker is trying to initialize a mock defined in a static field of an inner class. The execution gets stuck on ByteBuddyAgent.install() in static initialization block of InlineByteBuddyMockMaker. NB: The default ByteBuddyMockMaker works just fine.
A SpringBoot test like this is freezing when InlineByteBuddyMockMaker is trying to initialize a mock defined in a static field of an inner class. The execution gets stuck on
ByteBuddyAgent.install()
in static initialization block ofInlineByteBuddyMockMaker
. NB: The defaultByteBuddyMockMaker
works just fine.The full example is at https://github.com/EvgeniGordeev/mockito-bytebuddy-freeze
Environment: Mockito v2.23.4, OpenJDK 8/11
The text was updated successfully, but these errors were encountered: