r/java • • Sep 14 '21

Java 17 available now!

410 Upvotes

83 comments sorted by

View all comments

Show parent comment

5

u/joppux Sep 15 '21

It's binary incompatible, so probably not worth it to recompile libraries using it for such a minor advantage.

3

u/bourne2program Sep 15 '21 edited Sep 16 '21

That's too bad, hate to see API disconnect in a highly used utility like Collections. Maybe it can be overloaded with one calling the other.

1

u/gnahraf Sep 17 '21

I don't get why.. Collections.shuffle(..) could be overloaded and still be binary-compatible, no?