r/java • • Sep 14 '21

Java 17 available now!

410 Upvotes

83 comments sorted by

View all comments

12

u/bourne2program Sep 15 '21

I know I'm late for pointing this out, but why was
Collections.shuffle(List<?>, Random)
not changed to:
Collections.shuffle(List<?>, RandomGenerator)

Since Random now implements RandomGenerator. Was it missed or decided?

1

u/bourne2program Oct 13 '21

Same situation with BigInteger constructors and static method.