[ 
https://issues.apache.org/jira/browse/CASSANDRA-3275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Ellis reassigned CASSANDRA-3275:
-----------------------------------------

    Assignee: Rick Shaw  (was: Pavel Yaskevich)

Is that because JDK7 added some new ResultSet methods, or are we violating some 
generics rule that wasn't enforced before?
                
> Make Cassandra compile under JDK 7
> ----------------------------------
>
>                 Key: CASSANDRA-3275
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3275
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Pavel Yaskevich
>            Assignee: Rick Shaw
>             Fix For: 1.0.0
>
>
> Currently system won't compile under JDK 7 because of errors in CQL JDBC 
> component.
> {noformat}
>     [javac] 
> /usr/src/cassandra/drivers/java/src/org/apache/cassandra/cql/jdbc/CResultSet.java:39:
>  error: CResultSet is not abstract and does not override abstract method 
> <T>getObject(String,Class<T>) in ResultSet
>     [javac] class CResultSet extends AbstractResultSet implements 
> CassandraResultSet
>     [javac] ^
>     [javac]   where T is a type-variable:
>     [javac]     T extends Object declared in method 
> <T>getObject(String,Class<T>)
>     [javac] 
> /usr/src/cassandra/drivers/java/src/org/apache/cassandra/cql/jdbc/CassandraConnection.java:81:
>  error: CassandraConnection is not abstract and does not override abstract 
> method getNetworkTimeout() in Connection
>     [javac] class CassandraConnection extends AbstractCassandraConnection 
> implements Connection
>     [javac] ^
>     [javac] 
> /usr/src/cassandra/drivers/java/src/org/apache/cassandra/cql/jdbc/CassandraDataSource.java:24:
>  error: CassandraDataSource is not abstract and does not override abstract 
> method getParentLogger() in CommonDataSource
>     [javac] public class CassandraDataSource implements DataSource
>     [javac]        ^
>     [javac] 
> /usr/src/cassandra/drivers/java/src/org/apache/cassandra/cql/jdbc/CassandraDatabaseMetaData.java:32:
>  error: CassandraDatabaseMetaData is not abstract and does not override 
> abstract method generatedKeyAlwaysReturned() in DatabaseMetaData
>     [javac] class CassandraDatabaseMetaData implements DatabaseMetaData
>     [javac] ^
>     [javac] 
> /usr/src/cassandra/drivers/java/src/org/apache/cassandra/cql/jdbc/CassandraDriver.java:40:
>  error: CassandraDriver is not abstract and does not override abstract method 
> getParentLogger() in Driver
>     [javac] public class CassandraDriver implements Driver
>     [javac]        ^
>     [javac] 
> /usr/src/cassandra/drivers/java/src/org/apache/cassandra/cql/jdbc/CassandraStatement.java:50:
>  error: CassandraStatement is not abstract and does not override abstract 
> method isCloseOnCompletion() in Statement
>     [javac] class CassandraStatement extends AbstractStatement implements 
> Statement
>     [javac] ^
>     [javac] 
> /usr/src/cassandra/drivers/java/src/org/apache/cassandra/cql/jdbc/CassandraPreparedStatement.java:61:
>  error: CassandraPreparedStatement is not abstract and does not override 
> abstract method isCloseOnCompletion() in Statement
>     [javac] class CassandraPreparedStatement extends CassandraStatement 
> implements PreparedStatement
>     [javac] ^
>     [javac] Note: 
> /usr/src/cassandra/drivers/java/src/org/apache/cassandra/cql/jdbc/CassandraPreparedStatement.java
>  uses or overrides a deprecated API.
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to