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
Iwein Fuld opened SPR-5694 and commented
If you create a cglib proxy for an interface using a third party framework AopUtils will break see INT-654.
Test to demonstrate:
import static org.junit.Assert.assertTrue; import static org.mockito.Mockito.mock; import org.junit.Test; import org.springframework.aop.support.AopUtils; public class AopUtilsMockitoTests { @Test @SuppressWarnings("unchecked") public void getTargetClass() throws Exception { AnInterface candidate = mock(AnInterface.class); assertTrue(AnInterface.class.isAssignableFrom(candidate.getClass())); assertTrue(AnInterface.class.isAssignableFrom(AopUtils.getTargetClass(candidate))); } private interface AnInterface { } }
This was tested with Mockito 1.7
Affects: 2.5.6
Issue Links:
Referenced from: commits 8583026
The text was updated successfully, but these errors were encountered:
jhoeller
No branches or pull requests
Iwein Fuld opened SPR-5694 and commented
If you create a cglib proxy for an interface using a third party framework AopUtils will break see INT-654.
Test to demonstrate:
This was tested with Mockito 1.7
Affects: 2.5.6
Issue Links:
Referenced from: commits 8583026
The text was updated successfully, but these errors were encountered: