Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [ajdt-dev] strange problem using AJDT with Eclipse 3.0 m4

It is unlikely for that to be the source of the problem, since the AspectJ
plugin ships with JDT 2.1 classes that it depends on, does not expose them,
and should not use the JDT classes of the Eclipse version that it is running
in.  This assumes that plugin classloading hasn't changed, which I hope is a
safe assumption.

Martin, could you please create a minimal test case and submit it as a bug
marked "critical"?

Mik

> -----Original Message-----
> From: ajdt-dev-admin@xxxxxxxxxxxxxxx [mailto:ajdt-dev-
> admin@xxxxxxxxxxxxxxx] On Behalf Of rbodkin
> Sent: Thursday, October 16, 2003 4:13 PM
> To: ajdt-dev@xxxxxxxxxxxxxxx
> Subject: Re: [ajdt-dev] strange problem using AJDT with Eclipse 3.0 m4
> 
> Hi Martin,
> 
> I found that using incremental compilation in Eclipse 3.0 m3 broke badly
> for
> me (and submitted a bug report).
> 
> I believe the problem is that the AspectJ compiler reuses some of the JDT
> compiler classes and it has to use internal interfaces; so a major shift
> like
> from 2.1 to 3.0 requires work on the compiler core. There was a need to
> work
> on this in the move from 2.0 to 2.1.
> 
> 
> 
> On Thu, 16 Oct 2003 21:11:03 +0200, Martin Lippert wrote
> > Hi,
> >
> > I have a very strange problem using AJDT 1.1.4 with Eclipse 3.0 m4.
> > I compiled an aspect that contains something like:
> >
> > thisJoinPoint.getSignature();
> >
> > The compiler output for this (using the -noweave option) is wrong.
> > The bytecode for the compiled aspect contains a call to the class
> > org.aspectj.lang.JoinPoint.getSignature (instead of
> > JoinPoint$StaticPart.getSignature which would be right).
> >
> > Now the strange thing: If I compile the same aspect using AJDT 1.1.4
> > within Eclipse 2.1.1 the bytecode of the compiled aspect is correct.
> >
> > Any idea on that??????
> >
> > Best regards,
> > Martin
> 
> 
> 
> Ron Bodkin
> Chief Technology Officer
> New Aspects
> m: (415) 509-2895
> _______________________________________________
> ajdt-dev mailing list
> ajdt-dev@xxxxxxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/ajdt-dev



Back to the top