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.
- relates to
-
JDK-6797535 Add shared two argument static equals method to the platform
- Resolved