RFR: 8295370: Update java.io.ObjectStreamField to use Class.descriptorString

Mandy Chung mchung at openjdk.org
Fri Oct 14 19:07:57 UTC 2022


On Fri, 14 Oct 2022 18:23:58 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

> The code in ObjectStreamField for constructing type signatures should be replaced by Class.descriptorString(). 
> The corresponding change is made in ObjectStreamClass.
> There is no change to the contents of the type strings and the existing tests will cover it.

Looks good.  Glad to see the existing code of constructing the descriptor be replaced with `Class::descriptorString`.

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

Marked as reviewed by mchung (Reviewer).

PR: https://git.openjdk.org/jdk/pull/10714


More information about the core-libs-dev mailing list