8231202: Suppress warnings on non-serializable non-transient instance fields in serializable classes

Reviewed-by: rriggs, chegar
This commit is contained in:
Joe Darcy 2019-10-09 10:17:50 -07:00
parent fbb4093562
commit 3c9b6d8554
18 changed files with 86 additions and 6 deletions

View file

@ -102,6 +102,7 @@ public class Vector<E>
*
* @serial
*/
@SuppressWarnings("serial") // Conditionally serializable
protected Object[] elementData;
/**