On Fri, 18 Mar 2022 13:10:10 GMT, liach <d...@openjdk.java.net> wrote:
>you are not expected to inspect a random object by its string. ToString representations tend to show up in exception messages and logging. Seems like this adapter just won't adapt that call. Not a deal breaker. > Also the reverse order comparator in Collections doesn't have a toString > override as well. ToString wasn't added to that for compatibility reasons. Since this hasn't been released yet that doesn't apply here. https://bugs.openjdk.java.net/browse/JDK-6483125 ------------- PR: https://git.openjdk.java.net/jdk/pull/7001