Bug#583509: gcj-4.4: Generics handling not compatible with openjdk
Package: gcj-4.4
Severity: normal
The attached minimal Java class can be compiled with javac from openjdk-6-jdk
but not with javac from gcj-4.4-jdk. This is the output of both compilers:
$ /usr/lib/jvm/java-gcj/bin/javac -1.5 GenericsTest.java
----------
1. ERROR in GenericsTest.java (at line 8)
public int compareTo(GenericsTest arg0) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The method compareTo(GenericsTest) of type GenericsTest must override a superclass method
----------
1 problem (1 error)