On 9/8/2021 1:28 PM, Andrey Turbanov wrote:
Hello.
I found a confusing javadoc of the method java.lang.StringBuilder#readObject:

"readObject is called to restore the state of the StringBuffer from a stream."

I believe there should be "StringBuilder" instead of "StringBuffer".

Agreed; filed

    JDK-8274031: Typo in StringBuilder.readObject

Thanks,

-Joe

Reply via email to