As you probably noticed, we - after much debate - plan to support JSR014
"Generics" in Aurora. And you can expect at least the parser in a build or
However, our motto here is "to eat one's dog food" - that is, we would like
to use Generics in IDEA (and, as a matter of fact, are looking forward to
do so :) ).
The current beta implementation of Generics (version 1.3) can be used "on
top" of JDK 1.4.1 - that is, compile with generics supporting javac, and
run with JDK 1.4.1. You can even enjoy generic collections - a special
generic stubs are provided, against which your code should be compiled. And
we were actually able to compile IDEA with it and use it afterwards :)
(no, the next build is compiled with conventional javac of 1.4.1_something).
However, latest statements from Sun are somewhat vague on the point of
whether this happy state of events will continue past a revised version of
JSR014, due in the end of May. That is, it may well be that code using
Generics will not run on older JVMs.
So, the question is - have you tried to use Generics in production code?
Do you consider doing so before 1.5 is out? If you do so, how are you going
to cope with changes from Sun?
Your comments are very welcome.
IntelliJ Labs / JetBrains Inc.
"Develop with pleasure!"