cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Shaw (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-3275) Make Cassandra compile under JDK 7
Date Fri, 30 Sep 2011 13:40:45 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-3275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13118061#comment-13118061
] 

Rick Shaw commented on CASSANDRA-3275:
--------------------------------------

+1 LGTM.
                
> 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: satish babu krishnamoorthy
>              Labels: jdk7
>             Fix For: 1.0.0
>
>         Attachments: 3275-patch.diff
>
>
> 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

        

Mime
View raw message