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

Mock "$Impl_" classes don't support Introspector.getBeanInfo #234

Closed
rliesenfeld opened this issue Nov 2, 2015 · 0 comments
Closed

Mock "$Impl_" classes don't support Introspector.getBeanInfo #234

rliesenfeld opened this issue Nov 2, 2015 · 0 comments
Assignees
Labels
bug

Comments

@rliesenfeld
Copy link
Member

@rliesenfeld rliesenfeld commented Nov 2, 2015

If java.beans.Instrospector.getBeanInfo(cls) happens to get called on a class generated by JMockit for a mocked interface, then an unexpected NoClassDefFoundError occurs for the non-existent $Impl_XyzBeanInfo class.

@rliesenfeld rliesenfeld added the bug label Nov 2, 2015
@rliesenfeld rliesenfeld self-assigned this Nov 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
You can’t perform that action at this time.