You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Mark Hindess (JIRA)" <ji...@apache.org> on 2010/07/28 10:55:17 UTC

[jira] Resolved: (HARMONY-6529) [jdktools]hdk javac only support compliance 1.5

     [ https://issues.apache.org/jira/browse/HARMONY-6529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Hindess resolved HARMONY-6529.
-----------------------------------

    Fix Version/s: 6.0M3
       Resolution: Fixed

I've applied the java6 patch at r979981.  Please confirm (by closing this JIRA) that it has been applied as expected and resolves this issue.


> [jdktools]hdk javac only support compliance 1.5
> -----------------------------------------------
>
>                 Key: HARMONY-6529
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6529
>             Project: Harmony
>          Issue Type: Bug
>         Environment: All
>            Reporter: Li Jing Qin
>            Assignee: Mark Hindess
>            Priority: Minor
>             Fix For: 6.0M3
>
>         Attachments: HARMONY-6529.diff, HARMONY-6529_Java6.diff
>
>
> In jdktools/modules/jdktools/src/main/java/org/apache/harmony/tools/javac/Main.java, we are add '-1.5' as the compliance level. This will override any specify level which given by the user. For example, javac -source 1.6 -target 1.6 will report unsupport. A simply change '-1.5' to '-1.7' will solve this problem. From the page http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.jdt.doc.isv/guide/jdt_api_compile.htm, we can find jdt compiler supports '-1.7'.

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