https://issues.apache.org/bugzilla/show_bug.cgi?id=49953
Sebb <s...@apache.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|LATER | --- Comment #5 from Sebb <s...@apache.org> 2011-01-06 20:06:49 EST --- (In reply to comment #4) > Not true > > public interface Itest { > public void foo(); > } > > public class test implements Itest { > @Override > public void foo() { > } > } > > will not compile in Java 5 Exactly, overrides of interface methods require Java 1.6. This is the case for many of the existing @Overrides in DataSourceProxy, PoolProperties and ConnectionPool and others, which is one of the reasons jdbc pool won't compile currently with Java 5. Does this mean that those @Overrides should be removed? However, AFAICT the patch only adds overrides for methods which override superclass methods, so will compile with Java 1.5. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org