src/java.management/share/classes/javax/management/monitor/MonitorNotification.java
changeset 58766 54ffb15c4839
parent 47216 71c04702a3d5
--- a/src/java.management/share/classes/javax/management/monitor/MonitorNotification.java	Wed Oct 23 18:34:25 2019 +0200
+++ b/src/java.management/share/classes/javax/management/monitor/MonitorNotification.java	Wed Oct 23 13:01:40 2019 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1999, 2007, 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
@@ -162,6 +162,7 @@
     /**
      * @serial Monitor notification observed object.
      */
+    @SuppressWarnings("serial") // Not statically typed as Serializable
     private ObjectName observedObject = null;
 
     /**
@@ -172,6 +173,7 @@
     /**
      * @serial Monitor notification derived gauge.
      */
+    @SuppressWarnings("serial") // Not statically typed as Serializable
     private Object derivedGauge = null;
 
     /**
@@ -179,6 +181,7 @@
      *         This value is used to keep the threshold/string (depending on the
      *         monitor type) that triggered off this notification.
      */
+    @SuppressWarnings("serial") // Not statically typed as Serializable
     private Object trigger = null;