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) 1999, 2006, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1999, 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
@ -44,6 +44,7 @@ public class InvalidApplicationException extends Exception {
/**
* @serial The object representing the class of the MBean
*/
@SuppressWarnings("serial") // Not statically typed as Serializable
private Object val;