tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Williams, Nick" <nicholas.willi...@ul.com>
Subject RE: Tomcat and Sun/Oracle Java 7
Date Mon, 04 Feb 2013 15:32:40 GMT
> -----Original Message-----
> From: Jess Holle [mailto:jessh@ptc.com]
>
> ...
> It's that you can't make Java source code which /implements /JDBC interfaces and make
it compilable with both Java 6 and Java 7. The JDBC interfaces have new methods in Java 7
*and* some of these new methods use classes new to Java 7.
> ...

Just a quick correction. You CAN implement the JDBC interfaces so that they compile under
both Java 7 and Java 6, as long as you don't use the @Override annotation on the methods you
implement that were added in JDBC 4.1 (Java 7).

This e-mail may contain privileged or confidential information. If you are not the intended
recipient: (1) you may not disclose, use, distribute, copy or rely upon this message or attachment(s);
and (2) please notify the sender by reply e-mail, and then delete this message and its attachment(s).
Underwriters Laboratories Inc. and its affiliates disclaim all liability for any errors, omissions,
corruption or virus in this message or any attachments.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message