Hi all.

I'm having an issue where sometimes the "declare parents" code does not
properly change the parent of the class.

Declare parents is set up on HttpSession.  When using spring's
MockHttpSession (which implements HttpSession), it seems that the parent
class doesn't get changed correctly, so it ends up with a
AbstractMethodError.
java.lang.AbstractMethodError:
org.springframework.mock.web.MockHttpSession.getHashOnSet()Ljava/util/Map;

*However*, if HttpSession is in the non-test class that is being called by
the test, the declare parents command seems to run correctly.

Has any one come across this?  I'm going a bit nuts because I can't seem to
figure out a consistent way to be able to get this working.

Any help would be greatly appreciated.

My original writeup of what I did:
http://www.beernut.ca/jim/archives/005157.html

Thanks for your time,
Jim
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to