[ https://issues.apache.org/jira/browse/HIVE-3384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13852813#comment-13852813 ]
Mikhail Antonov commented on HIVE-3384: --------------------------------------- It looks like 0.11 doesn't compile on open jdk 7. I'm trying to compile it and getting the following same errors in jdbc module: Am I doing something wrong? I'm just running "ant clean package test" ---- Compiling 28 source files to /projects/apache/hive/build/jdbc/classes [javac] /projects/apache/hive/jdbc/src/java/org/apache/hive/jdbc/HiveCallableStatement.java:48: error: HiveCallableStatement is not abstract and does not override abstract method <T>getObject(String,Class<T>) in CallableStatement [javac] public class HiveCallableStatement implements java.sql.CallableStatement { [javac] ^ [javac] where T is a type-variable: [javac] T extends Object declared in method <T>getObject(String,Class<T>) [javac] /projects/apache/hive/jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java:65: error: HiveConnection is not abstract and does not override abstract method getNetworkTimeout() in Connection [javac] public class HiveConnection implements java.sql.Connection { > HIVE JDBC module won't compile under JDK1.7 as new methods added in JDBC > specification > -------------------------------------------------------------------------------------- > > Key: HIVE-3384 > URL: https://issues.apache.org/jira/browse/HIVE-3384 > Project: Hive > Issue Type: Bug > Components: JDBC > Affects Versions: 0.10.0 > Reporter: Weidong Bian > Assignee: Chris Drome > Priority: Minor > Fix For: 0.11.0 > > Attachments: D6873-0.9.1.patch, D6873.1.patch, D6873.2.patch, > D6873.3.patch, D6873.4.patch, D6873.5.patch, D6873.6.patch, D6873.7.patch, > HIVE-3384-0.10.patch, HIVE-3384-2012-12-02.patch, HIVE-3384-2012-12-04.patch, > HIVE-3384-branch-0.9.patch, HIVE-3384.2.patch, HIVE-3384.patch, > HIVE-JDK7-JDBC.patch > > > jdbc module couldn't be compiled with jdk7 as it adds some abstract method in > the JDBC specification > some error info: > error: HiveCallableStatement is not abstract and does not override abstract > method <T>getObject(String,Class<T>) in CallableStatement > . > . > . -- This message was sent by Atlassian JIRA (v6.1.4#6159)