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

Javac should issue a warning for int @A [].class

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 9
    • None
    • tools

      Javac currently enforces the rule that .class expressions cannot be annotated in the parser; as such, it will not issue a warning for int @A [].class.

      This needs to be changed.

            emc Eric Mccorkle
            emc Eric Mccorkle
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: