jax-rs-spec
  1. jax-rs-spec
  2. JAX_RS_SPEC-472

Clarify if MBR/MBW should see annotations from interfaces and concrete classes

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: spec
    • Labels:
      None

      Description

      Given

      
      public interface RootInterface {
         @GET
         @Produces
         String get();
      }
      
      public class RootImpl implements RootInterface {
         @A
         String get();
      }
      

      should MBR and MBW see @GET + @Produces only or @GET + @Produces + @A where @A is a custom non-JAX-RS annotation ?

      Proposal: update the Annotation Inheritance spec text accordingly, probably makes sense to avoid merging but I'm not sure

      Thanks

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Santiago Pericas-Geertsen
            Reporter:
            beryozkin_sergey
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: