Rawtypes warnings should be produced for pattern matching in instanceof

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 17
    • Affects Version/s: 16, 17
    • Component/s: tools
    • None
    • b15

      Based on:
      https://github.com/openjdk/jdk/pull/2913/files/f7924d278d3faf6b7a13a14898e22419bf6bcc04#r594176266

      Consider code like:
      ```
              Object o = null;
              boolean b = o instanceof List l;
      ```

      This should produce a rawtype warning for List, but it does not.

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

              Created:
              Updated:
              Resolved: