jdk-24/test/langtools/tools/javac/warnings/Serial/SerialMethodMods.out
Joe Darcy 6a466fe7ae 8202056: Expand serial warning to check for bad overloads of serial-related methods and ineffectual fields
8160675: Issue lint warning for non-serializable non-transient instance fields in serializable type

Reviewed-by: erikj, sspitsyn, jlahoda, vromero, rriggs, smarks
2021-10-21 21:11:01 +00:00

7 lines
433 B
Plaintext

SerialMethodMods.java:13:10: compiler.warn.serial.method.not.private: writeObject
SerialMethodMods.java:18:17: compiler.warn.serial.method.not.private: readObject
SerialMethodMods.java:24:25: compiler.warn.serial.method.static: readObjectNoData
SerialMethodMods.java:27:28: compiler.warn.serial.concrete.instance.method: writeReplace
SerialMethodMods.java:30:26: compiler.warn.serial.concrete.instance.method: readResolve
5 warnings