RFR: 8335637: Add explicit non-null return value expectations to Object.toString() [v4]

Jaikiran Pai jpai at openjdk.org
Wed Jul 10 05:08:15 UTC 2024


On Wed, 10 Jul 2024 05:02:36 GMT, Joe Darcy <darcy at openjdk.org> wrote:

>> Make well-behaved implementation expectations of Object.{toString, hashCode} explicit.
>
> Joe Darcy has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Narrow scope of the change.

The proposed reduction of the scope of the change to just note that `toString()` should return a non-null value looks good to me.

-------------

Marked as reviewed by jpai (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/20063#pullrequestreview-2168038159


More information about the core-libs-dev mailing list