java.util.Objects.compare(...): unspecified NullPointerException for null comparator

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P3
    • 7
    • Affects Version/s: 7
    • Component/s: core-libs
    • None
    • generic
    • generic

      The spec for java.util.Objects.compare(T a, T b, Comparator<? super T> c) should specify that the method throws NullPointerException if comparator is null.

            Assignee:
            Joe Darcy
            Reporter:
            Dmitry Miltsov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: