8244293 : Remove outdated @apiNote in java.util.Objects
Paul Sandoz
paul.sandoz at oracle.com
Mon May 4 16:15:51 UTC 2020
Hi,
Removing all of the api note looks good, since it was really written in the context of the removed methods.
I’ll sponsor. (I removed the methods but forgot to remove the note.)
Paul.
> On May 3, 2020, at 9:03 AM, Anirvan Sarkar <powers.anirvan at gmail.com> wrote:
>
> 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
> <JDK-8244293.patch>
More information about the core-libs-dev
mailing list