8244293 : Remove outdated @apiNote in java.util.Objects

Anirvan Sarkar powers.anirvan at gmail.com
Sun May 3 16:03:10 UTC 2020


Hi,

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 of
JDK-8155794 [1].
So the @apiNote in java.util.Objects is outdated.

I have created JBS issue to remove the @apiNote [2].
Patch is attached.

Can someone review and sponsor it?

[1] : https://bugs.openjdk.java.net/browse/JDK-8155794
[2] : https://bugs.openjdk.java.net/browse/JDK-8244293

-- 
Anirvan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: JDK-8244293.patch
Type: text/x-patch
Size: 2077 bytes
Desc: not available
URL: <https://mail.openjdk.java.net/pipermail/core-libs-dev/attachments/20200504/b85a3aed/JDK-8244293.patch>


More information about the core-libs-dev mailing list