javac parser is too aggressive on ambiguous expressions using identifier: record

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 15
    • Affects Version/s: 14, 15
    • Component/s: tools
    • b08

      this code fails even if preview features are not enabled:

      class X {
          record R(int i) {
              return null;
          }
      }
      class record {}

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

              Created:
              Updated:
              Resolved: