8231334: Suppress warnings on non-serializable instance fields in client libs serializable classes

Reviewed-by: prr
This commit is contained in:
Joe Darcy 2019-09-24 18:25:54 -07:00
parent 464c8b84eb
commit dab1284a36
28 changed files with 44 additions and 3 deletions

View file

@ -104,6 +104,7 @@ public class AdjustmentEvent extends AWTEvent {
* @serial
* @see #getAdjustable
*/
@SuppressWarnings("serial") // Not statically typed as Serializable
Adjustable adjustable;
/**

View file

@ -85,6 +85,7 @@ public class InvocationEvent extends AWTEvent implements ActiveEvent {
/**
* The Runnable whose run() method will be called.
*/
@SuppressWarnings("serial") // Not statically typed as Serializable
protected Runnable runnable;
/**
@ -94,6 +95,7 @@ public class InvocationEvent extends AWTEvent implements ActiveEvent {
*
* @see #isDispatched
*/
@SuppressWarnings("serial") // Not statically typed as Serializable
protected volatile Object notifier;
/**
@ -103,6 +105,7 @@ public class InvocationEvent extends AWTEvent implements ActiveEvent {
* @see #isDispatched
* @since 1.8
*/
@SuppressWarnings("serial") // Not statically typed as Serializable
private final Runnable listener;
/**

View file

@ -95,6 +95,7 @@ public class ItemEvent extends AWTEvent {
* @serial
* @see #getItem()
*/
@SuppressWarnings("serial") // Not statically typed as Serializable
Object item;
/**