Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 86346 invoked from network); 28 Jul 2010 08:11:40 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 28 Jul 2010 08:11:40 -0000 Received: (qmail 2295 invoked by uid 500); 28 Jul 2010 08:11:40 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 2188 invoked by uid 500); 28 Jul 2010 08:11:38 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 2180 invoked by uid 99); 28 Jul 2010 08:11:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jul 2010 08:11:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jul 2010 08:11:36 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o6S8BGIR014271 for ; Wed, 28 Jul 2010 08:11:16 GMT Message-ID: <735218.41681280304676212.JavaMail.jira@thor> Date: Wed, 28 Jul 2010 04:11:16 -0400 (EDT) From: "Mark Hindess (JIRA)" To: commits@harmony.apache.org Subject: [jira] Assigned: (HARMONY-6529) [jdktools]hdk javac only support compliance 1.5 In-Reply-To: <30395705.46781275034903078.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HARMONY-6529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Hindess reassigned HARMONY-6529: ------------------------------------- Assignee: Mark Hindess > [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 > 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.