Best compiler

i'm using sun's javac, but several classmates told me Eclipse compiler generates small class files.i tried it on my last homework assignment, and Eclipse does generate small class files.do people also find this? what can we do to improve sun's compiler?
[277 byte] By [Airwolfa] at [2007-11-27 1:32:12]
# 1

Sun's compiler is superior to the one in Eclipse for several reasons, most important of which is that it's actually implementing the language properly while the Eclipse compiler has several flaws which can lead to sometimes nasty surprises.

Anyway, size of generated classfiles is the least important of all the things you could come up with to compare the "quality" of a compilers.

jwentinga at 2007-7-12 0:36:11 > top of Java-index,Developer Tools,Java Compiler...
# 2
The compiler in JDK 6 will generate more information in class files (see http://blogs.sun.com/ahe/entry/javac_default_class_file_version). If thatis the cause of your problem, you will get smaller class files if you use-target 5.
PeterAhea at 2007-7-12 0:36:11 > top of Java-index,Developer Tools,Java Compiler...