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

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • 9
    • Affects Version/s: None
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: