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

Clean-up redundant null-checks of Class.getPackageName()

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • None
    • 17
    • core-libs
    • None
    • b25

    Description

      Originally discussed in https://github.com/openjdk/jdk/pull/3464

      After module system was introduced in 8142968 Class.getPackageName() never returns null, so checks for its value can be removed.

      Attachments

        Issue Links

          Activity

            People

              stsypanov Sergey Tsypanov
              stsypanov Sergey Tsypanov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: