Status: Accepted
Owner:
alasdair...@gmail.com
Labels: Type-Defect Priority-Medium OpSys-All
New issue 35 by
alasdair...@gmail.com: Won't compile with Java 1.7
http://code.google.com/p/snee/issues/detail?id=35
What steps will reproduce the problem?
1. Compilation using Java 1.7
What is the expected output? What do you see instead?
Expect code to compile, instead you get the error
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
(default-compile) on project snee-core: Compilation failure
[ERROR]
/home/henning/repos/snee_svn/snee/snee-core/src/main/java/uk/ac/manchester/cs/snee/StreamResultSet.java:[33,7]
error: StreamResultSet is not abstract and does not override abstract
method <T>getObject(String,Class<T>) in ResultSet
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR] mvn <goals> -rf :snee-core
This is a result of a change in the ResultSet API in Java 1.7. The
implemented StreamResultset class needs to be updated.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings