Re: [abc-users] abc [HEAD] - Java1.5 fetaures

From: Pavel Avgustinov <pavel.avgustinov_at_magd.ox.ac.uk>
Date: Thu, 27 Mar 2008 13:17:00 +0000

Hi Thomas,

I meant to mention this on Tuesday, but forgot. As of revision 5011, abc
supports compilation of Java 1.5 source code [Torbjorn decided that we'd
waited long enough with this and we added the JastAdd Java 5 frontend to abc
and fixed up a few issues].

Note that if you want to use 'enum' as a keyword, you need to specify "-source
1.5".

This does not include support for AspectJ 5 features like pointcut matching on
annotations, but at least you should be able to use abc on Java5 code bases.

Please let us know if you run into any troubles.

- P

On Friday 07 March 2008 12:20:36 Thomas Pawlitzki wrote:
> Hallo Pavel,
>
> > I've just talked to some of my colleagues about this. Could you tell us
> > what exactly you need in terms of Java 5 support? Would you simply like
> > to be able to compile Java 5 source (and use aspects as they currently
> > are)? That should be easily doable, and we'll try it out in the near
> > future -- if it works well it might make it into the next release,
> > tentatively scheduled for the end of the month. [Note, however, that you
> > can also compile your java 5 source with a java 5 compiler like javac and
> > then use abc to weave into the resulting bytecode...]
>
> For a first test and the evaluation which compiler should be used for
> the language extension we are planning it would be sufficient if abc
> can compile Java5-code.
>
> In the second step the abc is tested on some AspectJ examples.
>
> > If you also want things like pointcut matching on annotations or other
> > AspectJ5 features, then this might be a little bit further in the
> > future, although we do plan to look at it (particularly if there is
> > demand).
>
> At the moment I don't know whether the AspectJ examples contains
> AspectJ1.5 (or higher) code.
>
> Greetings,
> Thomas
Received on Thu Mar 27 2008 - 13:19:13 GMT

This archive was generated by hypermail 2.2.0 : Fri Mar 28 2008 - 00:10:12 GMT