Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
5.0M9
-
None
-
None
Description
The Harmony javac compiler seems to be rather more lenient than the Sun Java 1.5 compiler with regard to how it handles some types of generics.
See the attached samples. They all compile OK on Harmony.
TestGeneric1.java - compiles OK on Sun
TestGeneric2.java - 2 compilation errors on Sun
TestGeneric3.java - 2 compilation errors on Sun
See comments in the files which give the error output.