Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4989667

Annotation members must not have same signature as Object or Annotation members

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 5.0
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b40
    • CPU:
      generic
    • OS:
      generic

      Description

      The Preliminary Proposed Final Draft Spec for JSR-175 (4986770) specifies that "[annotation] Methods must not have the same signature as any method in class java.lang.Object or interface java.lang.Annotation." The compiler must enforce this restriction.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gafter Neal Gafter
              Reporter:
              jjb Josh Bloch
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: