RFR: 8268358: [lworld] toString for primitive class should return `ClassName at hash` [v2]

Mandy Chung mchung at openjdk.java.net
Fri Jun 11 01:03:27 UTC 2021

> `Object::toString` implementation of a primitive class should return the traditional `ClassName at hash` (rather than listing the field values) not to leak any private and security-sensitive information.   A primitive class can override `toString` implementation for their custom string representation.

Mandy Chung has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains two commits:

 - Merge branch 'lqagain' of https://github.com/openjdk/valhalla into substitutable
 - 8268358: [lworld] toString for primitive class should return `ClassName at hash`


Changes: https://git.openjdk.java.net/valhalla/pull/438/files
 Webrev: https://webrevs.openjdk.java.net/?repo=valhalla&pr=438&range=01
  Stats: 191 lines in 22 files changed: 13 ins; 143 del; 35 mod
  Patch: https://git.openjdk.java.net/valhalla/pull/438.diff
  Fetch: git fetch https://git.openjdk.java.net/valhalla pull/438/head:pull/438

PR: https://git.openjdk.java.net/valhalla/pull/438

More information about the valhalla-dev mailing list