Integrated: 8268358: [lworld] toString for primitive class should return `ClassName at hash`
Mandy Chung
mchung at openjdk.java.net
Fri Jun 11 22:45:14 UTC 2021
On Tue, 8 Jun 2021 19:55:46 GMT, Mandy Chung <mchung at openjdk.org> wrote:
> `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.
This pull request has now been integrated.
Changeset: 569dd54b
Author: Mandy Chung <mchung at openjdk.org>
URL: https://git.openjdk.java.net/valhalla/commit/569dd54b777029d8e4b4687d2db6d57f111111a6
Stats: 170 lines in 12 files changed: 7 ins; 143 del; 20 mod
8268358: [lworld] toString for primitive class should return `ClassName at hash`
Reviewed-by: rriggs
-------------
PR: https://git.openjdk.java.net/valhalla/pull/438
More information about the valhalla-dev
mailing list