Skip to main content

[jax-rs-spec issues] [JIRA] Resolved: (JAX_RS_SPEC-180) Unclear Section 3.6 Annotation Inheritance

  • From: "Santiago Pericas-Geertsen (JIRA)" <jira-no-reply@...>
  • To: issues@...
  • Subject: [jax-rs-spec issues] [JIRA] Resolved: (JAX_RS_SPEC-180) Unclear Section 3.6 Annotation Inheritance
  • Date: Mon, 30 Jul 2012 15:48:56 +0000 (GMT+00:00)
  • Auto-submitted: auto-generated


     [ 
http://java.net/jira/browse/JAX_RS_SPEC-180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Santiago Pericas-Geertsen resolved JAX_RS_SPEC-180.
---------------------------------------------------

    Fix Version/s: 2.0-pr
                       (was: 2.0)
                       (was: 2.0-pfd)
       Resolution: Fixed

Replaced MAY by may. Added new sentence about inheritance of type annotations.

> Unclear Section 3.6 Annotation Inheritance
> ------------------------------------------
>
>                 Key: JAX_RS_SPEC-180
>                 URL: http://java.net/jira/browse/JAX_RS_SPEC-180
>             Project: jax-rs-spec
>          Issue Type: Improvement
>    Affects Versions: 2.0-ed2
>            Reporter: jan.supol
>            Assignee: Santiago Pericas-Geertsen
>            Priority: Minor
>             Fix For: 2.0-pr
>
>
> Spec says: JAX-RS annotations MAY be used on the methods and method 
> parameters of a super-class or an implemented
> interface. This MAY would mean this may happen, and then the implementation 
> MUST behave according what the spec says. But MAY written like this usually 
> means this feature is optional, hence the implementation doesn't have to 
> inherit the annotations.
> Also the first paragraph talks only about inheritance on methods, not on 
> resource classes, e.g. @Path. Is it also meant to be inherited? The second 
> paragraph says: If a subclass or implementation method, which would 
> indicate the inheritance on classes is supposed to happen, but the 
> implementation does not take the @Path on a superclass into account.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://java.net/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[jax-rs-spec issues] [JIRA] Resolved: (JAX_RS_SPEC-180) Unclear Section 3.6 Annotation Inheritance

Santiago Pericas-Geertsen (JIRA) 07/30/2012
 
 
Close
loading
Please Confirm
Close