Compiler emitting spurious errors when constructor reference type is inferred and explicit type arguments are supplied

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 8
    • Affects Version/s: 8, 8-repo-lambda
    • Component/s: tools
    • None
    • b108
    • Verified

      The compiler should reject cases in which a raw constructor reference is used in combination with explicit type arguments on the constructor call - i.e.

      ArrayList::<String>new

            Assignee:
            Vicente Arturo Romero Zaldivar
            Reporter:
            Maurizio Cimadamore
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: