Browse Source

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


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1033513 13f79535-47bb-0310-9956-ffa450edef68
master
Jesse N. Glick 14 years ago
parent
commit
23b52c4827
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      src/tests/junit/org/apache/tools/ant/taskdefs/SQLExecTest.java

+ 2
- 3
src/tests/junit/org/apache/tools/ant/taskdefs/SQLExecTest.java View File

@@ -24,7 +24,6 @@ import java.sql.DriverPropertyInfo;
import java.util.Properties; import java.util.Properties;
import java.io.File; import java.io.File;
import java.net.URL; import java.net.URL;
import java.sql.SQLFeatureNotSupportedException;
import java.util.logging.Logger; import java.util.logging.Logger;


import junit.framework.TestCase; import junit.framework.TestCase;
@@ -235,8 +234,8 @@ public class SQLExecTest extends TestCase {
return false; return false;
} }


public Logger getParentLogger() throws SQLFeatureNotSupportedException {
throw new SQLFeatureNotSupportedException();
public Logger getParentLogger() /*throws SQLFeatureNotSupportedException*/ {
return Logger.getAnonymousLogger();
} }
} }




Loading…
Cancel
Save