RFR: 8265137: java.util.Random suddenly has new public methods nowhere documented [v2]

Rémi Forax github.com+828220+forax at openjdk.java.net
Wed Apr 14 17:34:38 UTC 2021

On Wed, 14 Apr 2021 12:27:55 GMT, Jim Laskey <jlaskey at openjdk.org> wrote:

>> Move makeXXXSpilterator from public (@hidden) to protected. No API ch
> Jim Laskey has updated the pull request incrementally with one additional commit since the last revision:
>   Make makeXXXSpliterator final

I don't see the point of having those methods virtual, they can be public static in RandomSupport given that there is only one implementation (the one with an if ... instanceof).
Also the static final proxy should be spelled PROXY.


PR: https://git.openjdk.java.net/jdk/pull/3469

More information about the core-libs-dev mailing list