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

Predicate::not should explicitly mention "NullPointerException - if target is null"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 11
    • 11
    • core-libs
    • b19

        In j.u.f.Predicate spec
        https://docs.oracle.com/javase/10/docs/api/java/util/function/Predicate.html
        it is common to explicitly mention NPE throwing.
        Predicate::not deserves to have it specified as well

              jlaskey Jim Laskey
              dbessono Dmitry Bessonov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: