Mantis - Resin
Viewing Issue Advanced Details
5370 minor always 02-14-13 07:55 02-26-13 12:03
nam  
ferg  
normal  
closed 4.0.36  
fixed  
none    
none 4.0.36  
0005370: cannot compile Resin 4.x with JDK7
Oracle made backward-incompatible API changes to JDK7 such that javac may not be able to compile JDK6 and below sources. The javac -source and -target options make no difference. Resin users have inquiried about this issue on at least three occasions already.

    [javac] /Users/nam/caucho/resin/modules/resin/src/com/caucho/amber/jdbc/AmberConnectionImpl.java:39: error: AmberConnectionImpl is not abstract and does not override abstract method getNetworkTimeout() in Connection
    [javac] public class AmberConnectionImpl implements Connection {
    [javac] ^
    [javac] /Users/nam/caucho/resin/modules/resin/src/com/caucho/amber/jdbc/AmberStatementImpl.java:38: error: AmberStatementImpl is not abstract and does not override abstract method isCloseOnCompletion() in Statement
    [javac] public class AmberStatementImpl implements java.sql.Statement {
    [javac] ^
    [javac] /Users/nam/caucho/resin/modules/resin/src/com/caucho/amber/query/ResultSetImpl.java:55: error: ResultSetImpl is not abstract and does not override abstract method <T>getObject(String,Class<T>) in ResultSet
    [javac] public class ResultSetImpl implements ResultSet {
    [javac] ^

...

There are no notes attached to this issue.