EasyMock CE + cglib + signed jar = SecurityException [message #252388] |
Wed, 02 April 2008 07:52 |
Eclipse User |
|
|
|
Originally posted by: alex.ba.chin.gmail.com
I'm trying to use EasyMock 2.2 with Class Extension with cglib 2.1.3 to
mock concrete classes in the org.eclipse.core.expressions library
(Expression, specifically). Whenever I run a JUnit 4 test with one of
these mocks, I get an InvocationTargetException caused by a
SecurityException: signer information does not match signer information of
other classes in the same package.
I understand from cglib's docs that generated classes use the same signer
information as cglib itself. I've tried modifying my java.security.policy
file as noted on the cglib website to no avail.
I can't be the only one who's tried mocking concrete classes from the
signed Eclipse plug-ins. Does anyone have any advice?
|
|
|
Powered by
FUDForum. Page generated in 0.03393 seconds