Re: Tomcat 5.5 JDK version compatibility

2012-03-08 Thread Mark Thomas
On 08/03/2012 20:10, David Wahler wrote: > On Thu, Mar 8, 2012 at 1:59 PM, Mark Thomas wrote: >> There is no way you compiled an application that uses >> javax.annotation.Resource against the Servlet 2.4 / Java EE 1.4 API. If >> you try that you'll get an error. > > As I said, javax.annotation.Re

Re: Tomcat 5.5 JDK version compatibility

2012-03-08 Thread David Wahler
On Thu, Mar 8, 2012 at 1:59 PM, Mark Thomas wrote: > There is no way you compiled an application that uses > javax.annotation.Resource against the Servlet 2.4 / Java EE 1.4 API. If > you try that you'll get an error. As I said, javax.annotation.Resource is included with J2SE 6 (as specified in JS

Re: Tomcat 5.5 JDK version compatibility

2012-03-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 3/8/12 2:33 PM, David Wahler wrote: > On Thu, Mar 8, 2012 at 12:58 PM, Caldarale, Charles R > wrote: >>> From: David Wahler [mailto:dwah...@indeed.com] Subject: Tomcat >>> 5.5 JDK version compatibility >> &g

Re: Tomcat 5.5 JDK version compatibility

2012-03-08 Thread Mark Thomas
On 08/03/2012 19:33, David Wahler wrote: > On Thu, Mar 8, 2012 at 12:58 PM, Caldarale, Charles R > wrote: >>> From: David Wahler [mailto:dwah...@indeed.com] >>> Subject: Tomcat 5.5 JDK version compatibility >> >>> Does this mean that if a web application is

Re: Tomcat 5.5 JDK version compatibility

2012-03-08 Thread Konstantin Kolinko
2012/3/8 David Wahler : > Hi all, I have a question about a comment on this bug report: > > https://issues.apache.org/bugzilla/show_bug.cgi?id=52545 > > Mark Thomas noted that: > > "The application can not be compiled using a 1.4 JDK (the minimum Java version > required by Servlet 2.4) since it use

Re: Tomcat 5.5 JDK version compatibility

2012-03-08 Thread David Wahler
On Thu, Mar 8, 2012 at 12:58 PM, Caldarale, Charles R wrote: >> From: David Wahler [mailto:dwah...@indeed.com] >> Subject: Tomcat 5.5 JDK version compatibility > >> Does this mean that if a web application is deployed in Tomcat 5.5, >> it may not use any language featu

RE: Tomcat 5.5 JDK version compatibility

2012-03-08 Thread Caldarale, Charles R
> From: David Wahler [mailto:dwah...@indeed.com] > Subject: Tomcat 5.5 JDK version compatibility > Does this mean that if a web application is deployed in Tomcat 5.5, > it may not use any language features that were introduced in J2SE > 5.0 or later (e.g. annotations and gen

Tomcat 5.5 JDK version compatibility

2012-03-08 Thread David Wahler
Hi all, I have a question about a comment on this bug report: https://issues.apache.org/bugzilla/show_bug.cgi?id=52545 Mark Thomas noted that: "The application can not be compiled using a 1.4 JDK (the minimum Java version required by Servlet 2.4) since it uses annotations. While applications may