RFR: 8337840: Remove redundant null check in ObjectOutputStream.writeProxyDesc
Andrey Turbanov
aturbanov at openjdk.org
Fri Aug 9 07:22:37 UTC 2024
On Fri, 26 Jul 2024 13:09:19 GMT, Andrey Turbanov <aturbanov at openjdk.org> wrote:
> There is implicit null check in line before.
>
> https://github.com/openjdk/jdk/blob/431d4f7e18369466eedd00926a5162a1461d0b25/src/java.base/share/classes/java/io/ObjectOutputStream.java#L1267-L1277
>
> 'cl' can't be null after that.
Thank you for review!
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20351#issuecomment-2277305580
More information about the core-libs-dev
mailing list