Compiling both Generics and Aspects?

Just out of curiosity: How will I be able to use both generics and aspects in the same sources?
Isn't it if I try that now the generics compiler will choke on the aspects syntax and AspectJ will fail on the generics?

3 comments
Comment actions Permalink

Stephen Kelvin wrote:

Just out of curiosity: How will I be able to use both generics and aspects
in the same sources? Isn't it if I try that now the generics compiler will
choke on the aspects syntax and AspectJ will fail on the generics?


This is one of the reasons we want to have our own AspectJ compiler :)

Friendly,
Dmitry

--
Dmitry Lomov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

Stephen Kelvin wrote:

Just out of curiosity: How will I be able to use

both generics and aspects

in the same sources? Isn't it if I try that now the

generics compiler will

choke on the aspects syntax and AspectJ will fail

on the generics?

This is one of the reasons we want to have our own
AspectJ compiler :)


Will your compiler be able to compile generics/aspects to jdk 1.3/1.4?

Sincerely

Jens Peter Grosen

0
Comment actions Permalink

Jens Peter Grosen wrote:

>> Stephen Kelvin wrote:
>>
>> > Just out of curiosity: How will I be able to use
>> both generics and aspects
>> > in the same sources? Isn't it if I try that now the
>> generics compiler will
>> > choke on the aspects syntax and AspectJ will fail
>> on the generics?
>>
>> This is one of the reasons we want to have our own
>> AspectJ compiler :)
>>


Will your compiler be able to compile generics/aspects to jdk 1.3/1.4?


It will integrate with javac for generics, so it depends on whether javac is
able to compile generics to 1.3/1.4. If it will, we will.

Friendly,
Dmitry
--
Dmitry Lomov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Please sign in to leave a comment.