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

Remove redundant zero-length check in ClassDesc.of

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 18
    • None
    • core-libs
    • None
    • b18

      Andrey Turbanov suggests in https://github.com/openjdk/jdk/pull/5157:

      After JDK-8215510 (https://github.com/openjdk/jdk/commit/eed3a536c0) this condition is always false. Empty package name is handled separately.
      Found by IntelliJ IDEA inspection.

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

              Created:
              Updated:
              Resolved: