diff -r 1f7f707c1aa9 -r 54ffb15c4839 src/java.management/share/classes/javax/management/AttributeChangeNotification.java --- a/src/java.management/share/classes/javax/management/AttributeChangeNotification.java Wed Oct 23 18:34:25 2019 +0200 +++ b/src/java.management/share/classes/javax/management/AttributeChangeNotification.java Wed Oct 23 13:01:40 2019 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999, 2003, 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 @@ -74,11 +74,13 @@ /** * @serial The MBean attribute old value. */ + @SuppressWarnings("serial") // Conditionally serializable private Object oldValue = null; /** * @serial The MBean attribute new value. */ + @SuppressWarnings("serial") // Conditionally serializable private Object newValue = null;