OpenJDK / jdk / jdk
changeset 59855:1e5438d88425
8247901: Multiple conflicting @return for FlightRecorderMXBean
Reviewed-by: mgronlun
author | egahlin |
---|---|
date | Mon, 22 Jun 2020 09:44:32 +0200 |
parents | 2342d5af52b7 |
children | 37692928c687 |
files | src/jdk.management.jfr/share/classes/jdk/management/jfr/FlightRecorderMXBean.java |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/jdk.management.jfr/share/classes/jdk/management/jfr/FlightRecorderMXBean.java Mon Jun 22 08:09:23 2020 +0200 +++ b/src/jdk.management.jfr/share/classes/jdk/management/jfr/FlightRecorderMXBean.java Mon Jun 22 09:44:32 2020 +0200 @@ -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 @@ * 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();