Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8274232

Cleanup unnecessary null comparison before instanceof check in jdk.jdi

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P5
    • Resolution: Fixed
    • 16, 17
    • 18
    • core-svc
    • None
    • b24

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: