RFR: JDK-8312415: Expand -Xlint:serial checks to enum constants with specialized class bodies

Jan Lahoda jlahoda at openjdk.org
Tue Jul 25 15:18:52 UTC 2023


On Mon, 24 Jul 2023 19:15:11 GMT, Joe Darcy <darcy at openjdk.org> wrote:

> Thanks to @lahodaj for providing the code to bridge into the class used for a enum constant with a specialized body.
> 
> This changes expands serialization warnings to the contents of any such class bodies.

Looks reasonable to me.

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

Marked as reviewed by jlahoda (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/15004#pullrequestreview-1545753903


More information about the compiler-dev mailing list