harmony-commits mailing list archives

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

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

Sebb commented on HARMONY-6179:
-------------------------------

Sorry, but 'ant populate-src' etc. looks like far too much work for me - and anyway I don't
have all the pre-requisites to do a build.

Wouldn't it be a lot easier for someone who already has a working system to download the three
files and try compiling them?

> 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.


Mime
View raw message