Improve the diagnostic message when class literal is used on generic type parameter array

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P4
    • None
    • Affects Version/s: 9
    • Component/s: tools

      During work on JDK-8074425 for creation of golden files for negative tests, it was discovered that the error diagnostic generated for tools/javac/generics/GenLit2.java can be improved by parametrizing the diagnostic to accept a more specific description.

      Current golden file for this test:
      GenLit2.java:13:18: compiler.err.type.var.cant.be.deref
      1 error

            Assignee:
            Unassigned
            Reporter:
            Sonali Goel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: