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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 5.0
    • 1.4.0
    • tools
    • b40
    • generic
    • generic

      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.

            gafter Neal Gafter (Inactive)
            jjb Josh Bloch
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: