Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-2140

@Scope annotation on interface does not give an error

    XMLWordPrintableJSON

Details

    • Patch Available

    Description

      Java Common Annotations and APIs spec - section 1.8.6 (lines 1592 thru 1602) shows an example of specifying @Scope annotation on an interface definition. I am noticing that this annotation is ignored and only the Scope set on the implementation class is used.

      This is as per the spec (corrected in the errata), but then @Scope on an interface should result in an error, which does not seem to happen!!

      Attachments

        1. TUSCANY-2140.patch
          6 kB
          Vamsavardhana Reddy

        Activity

          People

            Unassigned Unassigned
            vamsic Vamsavardhana Reddy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: