Lefty A. Rivera wrote:
I have a class and when I compiled it, I see synthetic fields when
using a decompiler. If I try to weave the class and run the resulting
woven class in JUnit the VM crash always. If there a way to avoid this?
That sounds like something serious is going wrong somewhere! What VM are
you using? Is at an IBM 1.4.x perhaps?? And what level of the AspectJ
compiler did you use? The AspectJ weaver understands synthetic fields
quite happily - so the fact that your compiled class has them /may/ not
be relevant to the problem.
Could you raise a bugzilla report please with details of:
* The VM you are using
* The AspectJ compiler version (or AJDT version / build date if this is
via AJDT)
* The class being woven
* The aspect(s) you are weaving into it
* The .class file of the offending class both before weaving and after
weaving added as attachments would be very helpful too
Thanks!
-- Adrian.