Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-dev] InvalidClassException during load time weaving

Tricky problem.  Are you able to limit what your aspect does such that it doesn't affect the parts of the classes that contribute to the calculated SUID?  If you are just using advice and not intertype declarations, I can imagine it might be possible - but then it would depend on perclauses, use of around advice and whether that advice can be inlined.  Do you know which part of your aspect is affecting the SUID?

cheers,
Andy.

2009/1/16 Choudary Kothapalli <choudary.kothapalli@xxxxxxxxx>
My product MaintainJ instruments an application using load time
weaving to capture the call trace and generate the sequence diagram. I
am having problems while deserializing classes that do not define a
SUID. The SUIDs of the original class and the weaved class are not
matching and InvalidClassException is thrown.

Currently I suggest my users to exclude those classes, but some
applications serialize too many classes and this solution is not ideal
for them. Any ideas on how this problem can be solved?

Thanks,
Choudary Kothapalli.
_______________________________________________
aspectj-dev mailing list
aspectj-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-dev


Back to the top