You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2017/06/02 07:46:23 UTC
[Bug 61145] New: Missing @Documented annotation in some
javax.annotation classes
https://bz.apache.org/bugzilla/show_bug.cgi?id=61145
Bug ID: 61145
Summary: Missing @Documented annotation in some
javax.annotation classes
Product: Tomcat 9
Version: unspecified
Hardware: PC
OS: Mac OS X 10.1
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
Assignee: dev@tomcat.apache.org
Reporter: katya.k.todorova@gmail.com
Target Milestone: -----
Created attachment 35026
--> https://bz.apache.org/bugzilla/attachment.cgi?id=35026&action=edit
Patch validated against tomcat tests and the corresponding specification
According to
https://docs.oracle.com/javaee/7/api/javax/annotation/package-summary.html and
https://docs.oracle.com/javaee/7/api/javax/annotation/security/package-summary.html
the following classes should have @Documented annotation:
javax.annotation.Generated
javax.annotation.PostConstruct
javax.annotation.PreDestroy
javax.annotation.Priority
javax.annotation.Resources
javax.annotation.security.DeclareRoles
javax.annotation.security.DenyAll
javax.annotation.security.PermitAll
javax.annotation.security.RolesAllowed
javax.annotation.security.RunAs
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 61145] Missing @Documented annotation in some javax.annotation
classes
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61145
Violeta Georgieva <vi...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #35026|0 |1
is patch| |
Attachment #35026|application/mbox |text/plain
mime type| |
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 61145] Missing @Documented annotation in some javax.annotation
classes
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61145
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Mark Thomas <ma...@apache.org> ---
Thanks for spotting this and thanks for the patch.
This has been fixed in:
- trunk for 9.0.0.M22 onwards
- 8.5.x for 8.5.16 onwards
- 8.0.x for 8.0.45 onwards
- 7.0.x for 7.0.79 onwards
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 61145] Missing @Documented annotation in some javax.annotation
classes
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61145
--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Confirmed.
This also needs back-porting to 8.x and 7.x (less Priority which was introduced
in Java EE 7).
Working on this now...
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org