git: openjdk/jdk: 8312415: Expand -Xlint:serial checks to enum constants with specialized class bodies

Joe Darcy darcy at openjdk.org
Tue Jul 25 18:59:11 UTC 2023


Changeset: cb82c954
Author:    Joe Darcy <darcy at openjdk.org>
Date:      2023-07-25 18:57:32 +0000
URL:       https://git.openjdk.org/jdk/commit/cb82c954e3a37892ad504fcbb279bcf7619222dc

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

Reviewed-by: jjg, jlahoda

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java
+ test/langtools/tools/javac/warnings/Serial/ClassBody.out
+ test/langtools/tools/javac/warnings/Serial/EnumExternClassBody.java



More information about the jdk-changes mailing list