aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs195/550494/BaseClass.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs195/550494/BaseClass.java')
-rw-r--r--tests/bugs195/550494/BaseClass.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/bugs195/550494/BaseClass.java b/tests/bugs195/550494/BaseClass.java
new file mode 100644
index 000000000..f3087988a
--- /dev/null
+++ b/tests/bugs195/550494/BaseClass.java
@@ -0,0 +1,19 @@
+package foo;
+
+import java.io.PrintWriter;
+import java.sql.Connection;
+import java.sql.SQLException;
+import java.sql.SQLFeatureNotSupportedException;
+import java.util.logging.Logger;
+
+public class BaseClass {
+ public PrintWriter getLogWriter() throws SQLException { return null; }
+ public void setLogWriter(PrintWriter out) throws SQLException {}
+ public void setLoginTimeout(int seconds) throws SQLException {}
+ public int getLoginTimeout() throws SQLException { return 0; }
+ public Logger getParentLogger() throws SQLFeatureNotSupportedException { return null; }
+ public <T> T unwrap(Class<T> iface) throws SQLException { return null; }
+ public boolean isWrapperFor(Class<?> iface) throws SQLException { return false; }
+ public Connection getConnection() throws SQLException { return null; }
+ public Connection getConnection(String username, String password) throws SQLException { return null; }
+}