We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi there, I am getting the following exception.
java.lang.RuntimeException: JSR/RET are not supported with computeFrames option...
I have isolated the problem, and it appears to be that I am getting the error because I mock a Logger class.
The logger comes from the Apache log4j library, version 1.2.12. JDK 1.7.0_52 32 bit Win7 64 bit
I suspect that the reason for this failure is because of the ASM upgrade in the new JMockit 1.11.
The issue occurs when I use JMockit 1.11. But using JMockit 1.10 works just fine.
import mockit.Mocked; import mockit.integration.junit4.JMockit; import org.apache.log4j.Logger; import org.junit.Test; import org.junit.runner.RunWith; @RunWith(JMockit.class) public class Foo { @Mocked Logger logger; @Test public void test(){ } }
The text was updated successfully, but these errors were encountered:
Fixed for version 1.12.
Sorry, something went wrong.
rliesenfeld
No branches or pull requests
Hi there,
I am getting the following exception.
java.lang.RuntimeException: JSR/RET are not supported with computeFrames option...
I have isolated the problem, and it appears to be that I am getting the error because I mock a Logger class.
The logger comes from the Apache log4j library, version 1.2.12.
JDK 1.7.0_52 32 bit
Win7 64 bit
I suspect that the reason for this failure is because of the ASM upgrade in the new JMockit 1.11.
The issue occurs when I use JMockit 1.11. But using JMockit 1.10 works just fine.
The text was updated successfully, but these errors were encountered: