jdk-24/test/langtools/tools/javac/warnings/Serial/SerialMethodArity.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
492 B
Plaintext

SerialMethodArity.java:18:18: compiler.warn.serial.method.parameter.type: writeObject, java.io.ObjectOutputStream, SerialMethodMods.CustomObjectOutputStream
SerialMethodArity.java:23:18: compiler.warn.serial.method.one.arg: readObject, 2
SerialMethodArity.java:29:39: compiler.warn.serial.method.no.args: readObjectNoData
SerialMethodArity.java:32:36: compiler.warn.serial.method.no.args: writeReplace
SerialMethodArity.java:37:38: compiler.warn.serial.method.no.args: readResolve
5 warnings