Bug 43425

Summary: Non-compliant annotations
Product: Tomcat 6 Reporter: Dain Sundstrom <dain>
Component: Servlet & JSP APIAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: major Keywords: PatchAvailable
Priority: P2    
Version: 6.0.14   
Target Milestone: default   
Hardware: Other   
OS: other   
Attachments: Patch against http://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk

Description Dain Sundstrom 2007-09-18 21:33:56 UTC
A few of the annotations have compliance problem.

javax.annotation.security.DenyAll
  @Target should only be METHOD
javax.ejb.EJB
  missing description property
javax.persistence.PersistenceContext
  missing properties property and associated PersistenceProperty annotation class

The annotations can be verified by checking the JavaEE5 javadocs at http://java.sun.com/javaee/5/
docs/api/

I will post a patch to correct these problems.
Comment 1 Dain Sundstrom 2007-09-18 21:36:04 UTC
Created attachment 20853 [details]
Patch against http://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk
Comment 2 Mark Thomas 2008-04-25 15:56:06 UTC
Patch has been applied to trunk and proposed for 6.0.x
Many thanks for the patch.
Comment 3 Mark Thomas 2008-05-01 13:13:01 UTC
This patch has been committed for 6.0.x and will be in 6.0.17 onwards.