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
Partial mocking Swing components in EasyMock 5.1.0 #356
Comments
@henri-tremblay |
I couldn't use a non static interceptor when the class is cached. But that's not the problem. It's because swing is a JDK class but since it's in the javax and not java package I do not detect it. I need to find a better way to find out. Because not all javax is in the jdk. |
My idea right now is that everything from the bootstrap class loader should be considered specifically. |
hi @henri-tremblay, I think I am encountering this same issue on v5.2.0. I have a test here which causes this stacktrace on v5.2.0, but succeeds without error on v5.0.1. I wanted to check in here to see what you think because I wasn't sure if I should open a new issue or if this one should be reopened. The full code is available at SkriptLang/Skript#6204. To repro, just change the version of easymock in |
@Pikachu920 please create a new issue and I will check. |
Partial mocking of Swing components doesn't work in EasyMock 5.1.0. Examples:
Both tests pass using EasyMock 5.0.1, but fail using 5.1.0.
Full working example: https://github.com/ulrikls/easymock-partial-swing
Stack traces:
The text was updated successfully, but these errors were encountered: