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

(ann) Metadata Spec should specify hashCode() computation for Class return type

XMLWordPrintable

    • b44
    • generic
    • generic

      In Metadata Spec Under the
      Library Support section I was working on hashCode() method of Annotation interface.
      In the spec I could not find clue in case method return type are Class.
      In this case how the hash code will be computed should be specified
      because for all other cases like primitive type enum, array it is well
      defined.

      @interface SampleAnnotation{
         Class getValue();
      }

            jjb Josh Bloch
            jsinghsunw Jit Singh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: