Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [aspectj-users] AspectJ Internal Error: Help!

This kind of error should be filed as a bug report so we can track it to a
resolution.  Please file it in the bug database on eclipse.org as suggested
near the end of the message.  The best bug reports will have self-contained
test cases, but if you can't produce that right away that's okay.

BTW, from a quick reading of your stack trace:
  org.aspectj.weaver.patterns.SignaturePattern.matches(SignaturePattern
  org.aspectj.weaver.patterns.WithincodePointcut.match(WithincodePointc
  org.aspectj.weaver.patterns.AndPointcut.match(AndPointcut.java:42)
  ...

I'd say the problem has to do with the combination of the signature for an
inter-type constructor declaration and a withincode pcd.  You should find
the use of withincode in your program and try to combine that with your
inter-type constructor to get a 1-2 class test case that can reproduce this
failure.

-Jim

> -----Original Message-----
> From: aspectj-users-admin@xxxxxxxxxxx [mailto:aspectj-users-
> admin@xxxxxxxxxxx] On Behalf Of Charles Zhang
> Sent: Thursday, January 29, 2004 12:53 PM
> To: aspectj-users@xxxxxxxxxxx
> Subject: [aspectj-users] AspectJ Internal Error: Help!
> 
> Hi, the AspectJ compiler Gods, all I'm doing is to introduce a constructor
> as follows:
> public 	com.ooc.CORBA.OutputStream.new(com.ooc.OB.CodeConverters
> converters, com.ooc.OCI.Buffer buf ,int GIOPVersion)
> {}
> ,yes, an empty constructor.
> AJC puked the entire bytecode out along with error messages,3000 lines,
> that I can't figure out where the problem is. Hence the attachment.
> I know in general introduction of constructor works since I tested it
> myself. I'm using ajc 1.1.4.
> 
> I'd really appreciate if someone can glance through the error message and
> give me some hints of where to look.
> 
> I will follow up and post a message later on to summarize this experience
> if this problem can be resolved. Thanks a lot.
> 
> Charles Zhang 		(http://www.eecg.utoronto.ca/~czhang)
> PhD Candidate,  Computer Group, Dept. of Elec. & Comp. Engineering
> U. of Toronto, Ontario, Canada
> *********************************************************
> " Yawn!!" (Charles Zhang)




Back to the top