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

rliesenfeld opened this Issue Nov 2, 2015 · 0 comments


None yet

1 participant


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
@rliesenfeld rliesenfeld added a commit that closed this issue Nov 2, 2015
@rliesenfeld rliesenfeld Fixed occurrence of NoClassDefFoundError when Introspector.getBeanInf…
…o(cls) got called on a $Impl class; closes #234.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment