[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-dev] Java7 language support?

Hi Steve,

On 22 November 2011 12:26, Steve Ash <stevemash@xxxxxxxxx> wrote:
> I apologize if you have already answered this, but I couldn't find anything
> recent, so I figured I would ask. Any news on upgrading IAJC to Java7 now
> that Eclipse 3.7.1 has been out for a while?

The next version of AspectJ I'm working on is 1.7.0 (finally tired of
that 1.6.X stream!) - this will be based on the Eclipse 3.7.1
compiler.  Unfortunately migrating compiler versions is a 'lock myself
in a a room for a week without distractions' sized piece of work and
I'm having trouble scheduling it.  Hopefully soon.

> We are starting to do some projects targeting Java7 and using the Java7 new
> language features.  Currently our toolchain only uses IAJC for compilation.
> I suppose I could investigate compiling with Javac and then weaving the
> compiled class files that would work right?

That ought to work, I've already committed preliminary changes into
1.6.12 that tolerate weaving of Java7 code.  However, if you do
something that results in an invokedynamic bytecode instruction then
that'll likely cause problems.  But basic Java development won't do
that, so you should be ok.

> I tried to find an open issue in bugzilla to watch for this and I found
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=353900

I can't believe I haven't raised one to specifically cover this work,
I just opened: