![](https://secure.gravatar.com/avatar/4793806f3b6ea0a361d6cddd42d0d989.jpg?s=120&d=mm&r=g)
11 Aug
2005
11 Aug
'05
8:18 a.m.
Peter van der Kamp wrote:
What kind of Java do you have installed? GCJ, Jikes or Sun's? Sun's compiler is known to accept this (and probably silently drop it).
java -version gives the following output: java version "1.4.2" jdkgcj 0.3.1 gcj (GCC) 3.4.4 20050721 (Red Hat 3.4.4-2)
Maybe we should drop -O for Java, it isn't documented anyway. However, if you happen to use Java, or planning to do so, be aware that GCJ still lacks some functionality, i.e. non-implemented bodies of methods we stumbled upon.