8232442: Suppress warnings on non-serializable non-transient instance fields in java.management.*

Reviewed-by: rriggs, mchung
This commit is contained in:
Joe Darcy 2019-10-23 13:01:40 -07:00
parent 36ac846d35
commit d8240afe42
24 changed files with 62 additions and 25 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2004, 2015, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2004, 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
@ -46,6 +46,7 @@ import javax.management.openmbean.TabularType;
public abstract class LazyCompositeData
implements CompositeData, Serializable {
@SuppressWarnings("serial") // Not statically typed as Serializable
private CompositeData compositeData;
// Implementation of the CompositeData interface