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

Redundant error regarding annotations

    XMLWordPrintable

Details

    • 5.0
    • generic
    • generic

    Description

      javac test/tools/javac/annotations/neg/ObjectMembers.java
      ObjectMembers.java:10: no annotation member hashCode in ObjectMembers
      @ObjectMembers(hashCode = 23)
                     ^
      ObjectMembers.java:10: duplicate annotation member value hashCode in ObjectMembers
      @ObjectMembers(hashCode = 23)
                                ^
      2 errors

      The second error is redundant.

      Attachments

        Activity

          People

            jjg Jonathan Gibbons
            ahe Peter Ahe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: