JDK-8324718 : Add a static function to java.util.Objects to simplify object equality checks
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.util
  • Priority: P5
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic
  • CPU: generic
  • Submitted: 2024-01-24
  • Updated: 2024-02-12
  • Resolved: 2024-02-12
Related Reports
Relates :  
Description
A DESCRIPTION OF THE PROBLEM :
Add a simple static function to java.util.Objects to facilitate object equality checks. The method will take in 2 instances of a type, and then a varargs of java.util.Function that takes in the same type of the 2 instances.



Comments
See technically related work discussed in JDK-6270657 for "equators" for collections.
12-02-2024

Closed as will not fix, as requested by external author - David Alayachew <davidalayachew@gmail.com>
12-02-2024

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/17603 Date: 2024-01-27 03:57:58 +0000
27-01-2024

Moving it to JDK for more evaluation.
25-01-2024