Lionel Cons created AMQ-4436: -------------------------------- Summary: LevelDB compilation warnings Key: AMQ-4436 URL: https://issues.apache.org/jira/browse/AMQ-4436 Project: ActiveMQ Issue Type: Bug Reporter: Lionel Cons
When compiling the ActiveMQ trunk using Java 7, I get: {quote} [INFO] --- scala-maven-plugin:3.1.0:compile (default) @ activemq-leveldb-store --- [INFO] ~activemq/activemq-leveldb-store/src/main/java:-1: info: compiling [INFO] ~activemq/activemq-leveldb-store/target/generated-sources/proto:-1: info: compiling [INFO] ~activemq/activemq-leveldb-store/src/main/scala:-1: info: compiling [INFO] Compiling 21 source files to ~activemq/activemq-leveldb-store/target/classes at 1365083049736 [INFO] compiler plugin: BasicArtifact(org.fusesource.jvmassert,jvmassert,1.4,null) [WARNING] ~activemq/activemq-leveldb-store/src/main/scala/org/apache/activemq/leveldb/DBManager.scala:255: warning: non-variable type argument Long in type pattern (Long, Int) is unchecked since it is eliminated by erasure [WARNING] case x:(Long, Int) => [WARNING] ^ [WARNING] ~activemq/activemq-leveldb-store/src/main/scala/org/apache/activemq/leveldb/LevelDBClient.scala:1103: warning: non-variable type argument Long in type pattern (Long, Int) is unchecked since it is eliminated by erasure [WARNING] case x:(Long, Int) => x [WARNING] ^ [WARNING] ~activemq/activemq-leveldb-store/src/main/scala/org/apache/activemq/leveldb/LevelDBClient.scala:1124: warning: non-variable type argument Long in type pattern (Long, Int) is unchecked since it is eliminated by erasure [WARNING] case x:(Long, Int) => x [WARNING] ^ [WARNING] ~activemq/activemq-leveldb-store/src/main/scala/org/apache/activemq/leveldb/LevelDBClient.scala:1167: warning: non-variable type argument Long in type pattern (Long, Int) is unchecked since it is eliminated by erasure [WARNING] case x:(Long, Int) => x [WARNING] ^ [WARNING] warning: there were 6 feature warnings; re-run with -feature for details [WARNING] 5 warnings found {quote} This is probably something that is worth fixing... -- 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