Return-Path: Delivered-To: apmail-ant-notifications-archive@minotaur.apache.org Received: (qmail 75465 invoked from network); 10 Nov 2010 15:24:36 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 Nov 2010 15:24:36 -0000 Received: (qmail 44715 invoked by uid 500); 10 Nov 2010 15:25:07 -0000 Delivered-To: apmail-ant-notifications-archive@ant.apache.org Received: (qmail 44560 invoked by uid 500); 10 Nov 2010 15:25:06 -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 44550 invoked by uid 99); 10 Nov 2010 15:25:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Nov 2010 15:25:05 +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.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Nov 2010 15:25:05 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id AD6C023889F7; Wed, 10 Nov 2010 15:23:51 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1033513 - /ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/SQLExecTest.java Date: Wed, 10 Nov 2010 15:23:51 -0000 To: notifications@ant.apache.org From: jglick@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20101110152351.AD6C023889F7@eris.apache.org> Author: jglick Date: Wed Nov 10 15:23:51 2010 New Revision: 1033513 URL: http://svn.apache.org/viewvc?rev=1033513&view=rev Log: Compilability under JDK 1.4/5 too, sigh. (Cannot verify since Ant is unbuildable on Linux under JDK 1.4 anyway, due to NIO bug worked around in 1.8.2.) Modified: ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/SQLExecTest.java Modified: ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/SQLExecTest.java URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/SQLExecTest.java?rev=1033513&r1=1033512&r2=1033513&view=diff ============================================================================== --- ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/SQLExecTest.java (original) +++ ant/core/trunk/src/tests/junit/org/apache/tools/ant/taskdefs/SQLExecTest.java Wed Nov 10 15:23:51 2010 @@ -24,7 +24,6 @@ import java.sql.DriverPropertyInfo; import java.util.Properties; import java.io.File; import java.net.URL; -import java.sql.SQLFeatureNotSupportedException; import java.util.logging.Logger; import junit.framework.TestCase; @@ -235,8 +234,8 @@ public class SQLExecTest extends TestCas return false; } - public Logger getParentLogger() throws SQLFeatureNotSupportedException { - throw new SQLFeatureNotSupportedException(); + public Logger getParentLogger() /*throws SQLFeatureNotSupportedException*/ { + return Logger.getAnonymousLogger(); } }