Return-Path: X-Original-To: apmail-ant-notifications-archive@minotaur.apache.org Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AAC07113A4 for ; Mon, 14 Apr 2014 08:57:20 +0000 (UTC) Received: (qmail 37833 invoked by uid 500); 14 Apr 2014 08:57:19 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 37735 invoked by uid 500); 14 Apr 2014 08:57:17 -0000 Mailing-List: contact notifications-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ant.apache.org Delivered-To: mailing list notifications@ant.apache.org Received: (qmail 37707 invoked by uid 99); 14 Apr 2014 08:57:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Apr 2014 08:57:15 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Apr 2014 08:57:13 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id B63AE23888FE for ; Mon, 14 Apr 2014 08:56:53 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1587167 - /ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapterTest.java Date: Mon, 14 Apr 2014 08:56:53 -0000 To: notifications@ant.apache.org From: jhm@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20140414085653.B63AE23888FE@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: jhm Date: Mon Apr 14 08:56:53 2014 New Revision: 1587167 URL: http://svn.apache.org/r1587167 Log: hit the commit-button too early: have to comment these two tests out Modified: ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapterTest.java Modified: ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapterTest.java URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapterTest.java?rev=1587167&r1=1587166&r2=1587167&view=diff ============================================================================== --- ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapterTest.java (original) +++ ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/compilers/DefaultCompilerAdapterTest.java Mon Apr 14 08:56:53 2014 @@ -144,9 +144,11 @@ public class DefaultCompilerAdapterTest testSource("1.7", "javac1.9", "If you specify -target 1.7 you now must also specify" + " -source 1.7", "1.7"); - testSource("1.8", "javac1.9", - "If you specify -target 1.8 you now must also specify" - + " -source 1.8", "1.8"); + //TODO: This is the behaviour I would expect from analogy. But at the moment + // (jdk-1.9.0_b06) this is not 'implemented'. +// testSource("1.8", "javac1.9", +// "If you specify -target 1.8 you now must also specify" +// + " -source 1.8", "1.8"); testSource("5", "javac1.9", "If you specify -target 5 you now must also specify" + " -source 5", "5"); @@ -156,9 +158,11 @@ public class DefaultCompilerAdapterTest testSource("7", "javac1.9", "If you specify -target 7 you now must also specify" + " -source 7", "7"); - testSource("8", "javac1.9", - "If you specify -target 8 you now must also specify" - + " -source 8", "8"); + //TODO: This is the behaviour I would expect from analogy. But at the moment + // (jdk-1.9.0_b06) this is not 'implemented'. +// testSource("8", "javac1.9", +// "If you specify -target 8 you now must also specify" +// + " -source 8", "8"); testSource(null, "javac1.9", "", "1.8"); testSource(null, "javac1.9", "", "8"); }