The class level @apiNote in java.util.Objects refers to variation of static methods checkIndex(int, int), checkFromToIndex(int, int, int), and checkFromIndexSize(int, int, int), which support customization of the runtime exception, and corresponding exception detail message.
But these static methods were removed from java.util.Objects as part ofJDK-8155794. So the @apiNote in java.util.Objects is outdated and needs to be removed.
But these static methods were removed from java.util.Objects as part of
- relates to
-
JDK-8155794 Move Objects.checkIndex BiFunction accepting methods to an internal package
- Closed