Skip to content
New issue

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

Concurrent mod exception on restore classes #723

Open
HenningL opened this issue Mar 10, 2022 · 0 comments
Open

Concurrent mod exception on restore classes #723

HenningL opened this issue Mar 10, 2022 · 0 comments

Comments

@HenningL
Copy link

Please provide the following information:

  • Version of JMockit that was used: 1.49

  • Description of the problem or enhancement request:
    java.util.ConcurrentModificationException
    at java.base/java.util.HashMap$HashIterator.nextNode(HashMap.java:1511)
    at java.base/java.util.HashMap$KeyIterator.next(HashMap.java:1534)
    at mockit.internal.state.MockFixture.restoreAndRemoveTransformedClasses(MockFixture.java:270)
    at mockit.internal.state.MockFixture.restoreTransformedClasses(MockFixture.java:254)
    at mockit.internal.state.SavePoint.rollback(SavePoint.java:37)
    at mockit.integration.TestRunnerDecorator.rollbackForTestClass(TestRunnerDecorator.java:104)
    at mockit.integration.TestRunnerDecorator.cleanUpMocks(TestRunnerDecorator.java:94)
    at mockit.integration.TestRunnerDecorator.cleanUpAllMocks(TestRunnerDecorator.java:86)
    at mockit.integration.testng.TestNGRunnerDecorator.onExecutionFinish(TestNGRunnerDecorator.java:263)
    at org.testng.TestNG.runExecutionListeners(TestNG.java:1083)
    at org.testng.TestNG.run(TestNG.java:1045)

jdk-11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant