It is possible for an enum class to declare serialization-related or externalization-related methods in a specialized class body for an enum constant.
Such methods should also get lint checking.
Such methods should also get lint checking.
- relates to
-
JDK-8312418 Add Elements.getEnumConstantBody
- Resolved
-
JDK-8144631 No documentation is created for methods of enum constants' class bodies
- Open
-
JDK-8310835 Address gaps in -Xlint:serial checks
- Resolved
- links to
-
Commit openjdk/jdk/cb82c954
-
Review(master) openjdk/jdk/15004