harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-6179) Inconsistent compiler behaviour for generics compared with Sun Java
Date Sat, 25 Apr 2009 17:48:30 GMT
Inconsistent compiler behaviour for generics compared with Sun Java
-------------------------------------------------------------------

                 Key: HARMONY-6179
                 URL: https://issues.apache.org/jira/browse/HARMONY-6179
             Project: Harmony
          Issue Type: Bug
          Components: JDK
    Affects Versions: 5.0M9
            Reporter: Sebb


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message