8132209: DiagnosticCommandImpl.getNotificationInfo() may expose internal representation

DiagnosticCommandImpl.getNotificationInfo() may expose internal representation

Reviewed-by: skoivu, fparain, jbachorik
This commit is contained in:
Dmitry Samersoff 2015-08-03 12:18:10 +03:00
parent 72e0832da6
commit 3b45c07680

View File

@ -343,7 +343,7 @@ public class DiagnosticCommandImpl extends NotificationEmitterSupport
"Diagnostic Framework Notification");
}
}
return notifInfo;
return notifInfo.clone();
}
private static long seqNumber = 0;