jdk-24/test/langtools/tools/javac/warnings/Serial/InstanceField.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

5 lines
275 B
Plaintext

InstanceField.java:16:20: compiler.warn.non.serializable.instance.field
InstanceField.java:18:22: compiler.warn.non.serializable.instance.field.array: java.lang.Object
InstanceField.java:20:24: compiler.warn.non.serializable.instance.field.array: java.lang.Thread
3 warnings