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

Reviewed-by: rriggs
This commit is contained in:
Joe Darcy 2019-10-15 13:25:57 -07:00
parent 6b11446797
commit b5d427b0bc
6 changed files with 18 additions and 6 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -69,6 +69,7 @@ public class ActivationGroupImpl extends ActivationGroup {
new Hashtable<>();
private boolean groupInactive = false;
private final ActivationGroupID groupID;
@SuppressWarnings("serial") // Conditionally serializable
private final List<ActivationID> lockedIDs = new ArrayList<>();
/**