< prev index next >

src/share/classes/sun/management/DiagnosticCommandImpl.java

Print this page

        

@@ -310,11 +310,11 @@
                          new MBeanNotificationInfo(diagFramNotifTypes,
                                                    notifName,
                                                    "Diagnostic Framework Notification");
             }
         }
-        return notifInfo;
+        return notifInfo.clone();
     }
 
     private static long seqNumber = 0;
     private static long getNextSeqNumber() {
         return ++seqNumber;
< prev index next >