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
since EasyMock 5.1.0, I get a LinkageError when I try to create a mock for certain classes. I saw it first for javax.security classes such as LoginContext. In version 5.0.1, this worked without an issue.
Step to reproduce:
It could be reproduced by the following dummy test:
Expected behaviour:
A mock for the class LoginContext gets created.
Actual behaviour
An exception with the following cause is thrown:
java.lang.LinkageError: bad field type alias: class org.easymock.internal.ClassMockingData not visible from class javax.security.auth.login.LoginContext$$$EasyMock$1
EasyMock Version: 5.1.0 Java version: Temurin 11 for macOS (OpenJDK11U-jdk_aarch64_mac_hotspot_11.0.18_10)
The text was updated successfully, but these errors were encountered:
Hello together,
since EasyMock 5.1.0, I get a LinkageError when I try to create a mock for certain classes. I saw it first for javax.security classes such as
LoginContext
. In version 5.0.1, this worked without an issue.Step to reproduce:
It could be reproduced by the following dummy test:
Expected behaviour:
A mock for the class
LoginContext
gets created.Actual behaviour
An exception with the following cause is thrown:
EasyMock Version: 5.1.0
Java version: Temurin 11 for macOS (
OpenJDK11U-jdk_aarch64_mac_hotspot_11.0.18_10
)The text was updated successfully, but these errors were encountered: