On Mon, 24 Jan 2022 21:51:13 GMT, Rémi Forax <fo...@openjdk.org> wrote:
> toIdentityString is a better name than toDefaultString. > > It's fine for me but given that "identity" has a slightly different meaning > in the context of Valhalla that in System.identityHashCode(), it may be good > to ask Brian about that name. Modulo the method name, I have discussed with Brian adding a method with toIdentityString's semantics to Objects and he agreed the method was worth having. ------------- PR: https://git.openjdk.java.net/jdk/pull/7139