Incorrect recovery attribution of record component type when j.l.Record is unavailable

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 18
    • Affects Version/s: 17, 18
    • Component/s: tools
    • None
    • b14

      Consider a record like:
      ---
      public record R(String s1, String s2) implements I {}
      interface I {}
      ---

      When this is attributed when j.l.Record does not exist, an error about the missing Record class is reported (correct), but the first `String` will be attributed as erroneous, which is not correct. The erroneous part is the supertype, not the component type.

            Assignee:
            Jan Lahoda
            Reporter:
            Jan Lahoda
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: