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

Redundant error regarding annotations

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Version:
      5.0
    • CPU:
      generic
    • OS:
      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

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

              Dates

              • Created:
                Updated:
                Imported:
                Indexed: