Cleanup unnecessary null comparison before instanceof check in jdk.jdi

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P5
    • 18
    • Affects Version/s: 16, 17
    • Component/s: core-svc
    • None
    • b24

      Update code checks both non-null and instance of a class in jdk.jdi module classes.
      The checks and explicit casts could also be replaced with pattern matching for the instanceof operator.

            Assignee:
            Andrey Turbanov
            Reporter:
            Andrey Turbanov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: