[ http://jira.codehaus.org/browse/SUREFIRE-65?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated SUREFIRE-65: --------------------------------- Affects Version/s: 2.0 (2.2 plugin) Fix Version/s: 2.0 (2.2 plugin) > IllegalAccessError with a dynamic proxy > --------------------------------------- > > Key: SUREFIRE-65 > URL: http://jira.codehaus.org/browse/SUREFIRE-65 > Project: Maven Surefire > Issue Type: Bug > Affects Versions: 2.0 (2.2 plugin) > Reporter: Carlos Sanchez > Assigned To: Brett Porter > Fix For: 2.0 (2.2 plugin) > > > I found this regression in the code from the book, migration chapter, when > using 2.2-SNAPSHOT instead of 2.1.3 > ------------------------------------------------------------------------------- > Test set: > org.springframework.aop.support.DelegatingIntroductionInterceptorTests > ------------------------------------------------------------------------------- > Tests run: 10, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.141 sec > <<< FAILURE! > testIntroductionInterceptorWithInterfaceHierarchy(org.springframework.aop.support.DelegatingIntroductionInterceptorTests) > Time elapsed: 0 sec <<< ERROR! > java.lang.IllegalAccessError: class org.springframework.aop.support.$Proxy9 > cannot access its superinterface > org.springframework.aop.support.DelegatingIntroductionInterceptorTests$SubTimeStamped > at java.lang.reflect.Proxy.defineClass0(Native Method) > at java.lang.reflect.Proxy.getProxyClass(Unknown Source) > at java.lang.reflect.Proxy.newProxyInstance(Unknown Source) > at > org.springframework.aop.framework.JdkDynamicAopProxy.getProxy(JdkDynamicAopProxy.java:104) > at > org.springframework.aop.framework.JdkDynamicAopProxy.getProxy(JdkDynamicAopProxy.java:94) > at > org.springframework.aop.framework.ProxyFactory.getProxy(ProxyFactory.java:70) > at > org.springframework.aop.support.DelegatingIntroductionInterceptorTests.testIntroductionInterceptorWithInterfaceHierarchy(DelegatingIntroductionInterceptorTests.java:88) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira