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

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

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b44
    • CPU:
      generic
    • OS:
      generic

      Description

      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();
      }

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: