RFR: JDK-8238239: java.lang.Record spec clarifications
vicente.romero at oracle.com
Thu Feb 6 01:05:06 UTC 2020
Thanks for the comment, I have updated the CSR 
On 2/5/20 7:55 PM, Leonid Kuskov wrote:
> Although methods (toString, hashCode) return different
> representations of a record (either textual or algorithmic)
> Spec for String toString(); everywhere refers to "the object":
> * Returns a string representation of the object.
> * @return a string representation of the object.
> from the other side hashCode(); spec uses "the record" as the object
> of the sentences:
> * Returns a hash code value for the record.
> * @return a hash code value for this record.
> Does it make sense to use a sole pattern in the descriptions?
> On 2/4/20 12:38, Vicente Romero wrote:
>> Please review the fix for  at  along with the corresponding CSR
>> at . The fix pretends to clarify the specification for
>> java.lang.Record. Please see the CSR for more detail,
>> PS, thanks to John Rose for proposing this fix
>>  https://bugs.openjdk.java.net/browse/JDK-8238239
>>  http://cr.openjdk.java.net/~vromero/8238239/webrev.00/
>>  https://bugs.openjdk.java.net/browse/JDK-8238240
More information about the core-libs-dev