harmony-commits mailing list archives

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

    [ https://issues.apache.org/jira/browse/HARMONY-6179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12702812#action_12702812

Nathan Beyer commented on HARMONY-6179:

Can you try this with the latest version in trunk? The compiler has been upgraded to ECJ 3.4.2.
If it's still an issue, then we'll have to ask the Eclipse JDT folks.

> 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
>         Attachments: TestGeneric1.java, TestGeneric2.java, TestGeneric3.java
> 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.

View raw message