RFR: 8268358: [lworld] toString for primitive class should return `ClassName at hash` [v3]
Mandy Chung
mchung at openjdk.java.net
Fri Jun 11 21:39:26 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 three commits:
- Merge branch 'lqagain' of https://github.com/openjdk/valhalla into substitutable
- 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=02
Stats: 170 lines in 12 files changed: 7 ins; 143 del; 20 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