RFR: 8272863: Replace usages of Collections.sort with List.sort call in public java modules

Sergey Bylokhov serb at openjdk.java.net
Tue Aug 24 06:22:38 UTC 2021


On Mon, 23 Aug 2021 21:01:48 GMT, Andrey Turbanov <github.com+741251+turbanoff at openjdk.org> wrote:

> Collections.sort is just a wrapper, so it is better to use an instance method directly.

The changes in the src/java.desktop/ looks fine.

Filed: https://bugs.openjdk.java.net/browse/JDK-8272863

-------------

Marked as reviewed by serb (Reviewer).

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



More information about the security-dev mailing list