8275686: Suppress warnings on non-serializable non-transient instance fields in java.rmi

Reviewed-by: bpb, iris, rriggs
This commit is contained in:
Joe Darcy 2021-10-21 15:25:10 +00:00
parent 3b0ce23bcd
commit 3cb241a91f

View File

@ -71,6 +71,7 @@ public class UnicastRef implements RemoteRef {
Boolean.getBoolean("sun.rmi.client.logCalls")));
private static final long serialVersionUID = 8258372400816541186L;
@SuppressWarnings("serial") // Type of field is not Serializable
protected LiveRef ref;
/**