mirror of
https://github.com/openjdk/jdk.git
synced 2026-07-30 20:55:34 +00:00
8247901: Multiple conflicting @return for FlightRecorderMXBean
Reviewed-by: mgronlun
This commit is contained in:
parent
3576a88369
commit
04adafb753
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2016, 2020, 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
|
||||
@ -205,13 +205,11 @@ public interface FlightRecorderMXBean extends PlatformManagedObject {
|
||||
* The caller must close the recording when access to the data is no longer
|
||||
* needed.
|
||||
*
|
||||
* @return a snapshot of all available recording data, not {@code null}
|
||||
* @return a unique ID that can be used for reading recording data
|
||||
*
|
||||
* @throws java.lang.SecurityException if a security manager exists and the
|
||||
* caller does not have {@code ManagementPermission("control")}
|
||||
*
|
||||
* @return a unique ID that can be used for reading recording data.
|
||||
*
|
||||
* @see Recording
|
||||
*/
|
||||
public long takeSnapshot();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user