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

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

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: