|Re: I'm still not thrilled by the eclipse java compiler. It is more lax or at the very least varies [message #261437 is a reply to message #261420]
||Fri, 18 July 2008 09:21
Originally posted by: markus.milleder.generali.at|
Julia Smith wrote:
> OK, but I have a question to ask first. Does eclipse run it's compiler
> against an compliance test suite? Or Sun putting that out in the
> stratosphere still? I would be surprised if the likes of Plum Hall or
> what not doesn't have something to bang generics.
The Eclipse Java Compiler passes the JCK tests. (Java Compatibility Kit ->
the tests to pass to be allowed to call something "Java" officially).
The exact handling of generics has differed between the javac and ecj
several times already for corner cases. There have been cases where ecj
was right and javac wrong (e.g. Bug 156183). Search for JDT bugs with
"generics" in the summary to get an idea (note that Eclipse 3.1 introduced
Java 5 support).
|Re: I'm still not thrilled by the eclipse java compiler. It is more lax or at the very least varies [message #261493 is a reply to message #261487]
||Sat, 19 July 2008 06:35
| Walter Harley
Registered: July 2009
"Julia Smith" <email@example.com> wrote in message |
> I'll bundle up some test cases in the next day or so. Since I've also had
> problems with annotation processing I have to ask if the expected
> compliance annotation processing is Java6 for Europa.
My understanding from the Eclipse member companies that are JCK licensees is
that Eclipse 3.4 passes the Java 6 compiler JCK, which does include
annotation processing tests. Certainly our intention is to be compatible
with javac with regard to annotation processing.
That said, the JCK tests the command-line compiler (ecj) and there are some
differences between the ecj implementation of annotation processing and the
IDE implementation; not with regard to the typesystem, but with regard to
Filer, Messager, and the other platform-related parts of the API. In
particular, there are some Filer methods that are unimplemented in the IDE
implementation, simply because we were focused on trying to be compatible at
the command line and in the typesystem APIs.
If you have specific problems or incompatibilities, please do file a bug
against JDT/APT. At this point I'm a one-person part-time volunteer "team",
and I can use all the testing help that I can get.
JDT APT lead
Powered by FUDForum
. Page generated in 0.05053 seconds