[ https://issues.apache.org/jira/browse/CASSANDRA-4703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karthik K updated CASSANDRA-4703: --------------------------------- Attachment: CASSANDRA-4703.patch > o.a.c.service.StorageProxy - compilation issue > ----------------------------------------------- > > Key: CASSANDRA-4703 > URL: https://issues.apache.org/jira/browse/CASSANDRA-4703 > Project: Cassandra > Issue Type: Bug > Environment: $ java -version > java version "1.6.0_33" > Java(TM) SE Runtime Environment (build 1.6.0_33-b03) > Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03, mixed mode) > $ uname -a > Linux user-System-Product-Name 3.5.0-13-generic #14-Ubuntu SMP Wed Aug 29 > 16:48:44 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux > Ubuntu 12.10 > Reporter: Karthik K > Fix For: 1.2.0 beta 1 > > Attachments: CASSANDRA-4703.patch > > > Running ant on master yields the following compilation error. > build-project: > [echo] apache-cassandra: /home/user/workspace/cassandra/build.xml > [javac] Compiling 1 source file to > /home/user/workspace/cassandra/build/classes/main > [javac] > /home/user/workspace/cassandra/src/java/org/apache/cassandra/service/StorageProxy.java:803: > local variable remotes is accessed from within inner class; needs to be > declared final > [javac] > sendToHintedEndpoints(cm.makeReplicationMutation(), remotes, responseHandler, > localDataCenter, consistency_level); > [javac] > ^ > [javac] Note: > /home/user/workspace/cassandra/src/java/org/apache/cassandra/service/StorageProxy.java > uses or overrides a deprecated API. > [javac] Note: Recompile with -Xlint:deprecation for details. > [javac] Note: > /home/user/workspace/cassandra/src/java/org/apache/cassandra/service/StorageProxy.java > uses unchecked or unsafe operations. > [javac] Note: Recompile with -Xlint:unchecked for details. > [javac] 1 error -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira