mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 20:14:43 +02:00
8252537: Updated @exception with @throws
8252536: Replace @exception with @throws for core-libs 8252539: Replace @exception with @throws java.rmi.activation package 8252540: Replace @exception with @throws java.rmi.registry package 8252541: Replace @exception with @throws java.rmi.server package Reviewed-by: rriggs, sspitsyn, lancea
This commit is contained in:
parent
406db1c270
commit
dffe9db25c
86 changed files with 2109 additions and 2109 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2003, 2008, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2003, 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
|
||||
|
@ -105,9 +105,9 @@ public interface ClassLoadingMXBean extends PlatformManagedObject {
|
|||
* @param value {@code true} to enable the verbose output;
|
||||
* {@code false} to disable.
|
||||
*
|
||||
* @exception java.lang.SecurityException if a security manager
|
||||
* exists and the caller does not have
|
||||
* ManagementPermission("control").
|
||||
* @throws java.lang.SecurityException if a security manager
|
||||
* exists and the caller does not have
|
||||
* ManagementPermission("control").
|
||||
*/
|
||||
public void setVerbose(boolean value);
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2003, 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
|
||||
|
@ -465,7 +465,7 @@ public class ManagementFactory {
|
|||
* MXBeans are registered into the platform {@code MBeanServer}
|
||||
* at the first time this method is called.
|
||||
*
|
||||
* @exception SecurityException if there is a security manager
|
||||
* @throws SecurityException if there is a security manager
|
||||
* and the caller does not have the permission required by
|
||||
* {@link javax.management.MBeanServerFactory#createMBeanServer}.
|
||||
*
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2003, 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
|
||||
|
@ -283,9 +283,9 @@ public interface MemoryMXBean extends PlatformManagedObject {
|
|||
* @param value {@code true} to enable verbose output;
|
||||
* {@code false} to disable.
|
||||
*
|
||||
* @exception java.lang.SecurityException if a security manager
|
||||
* exists and the caller does not have
|
||||
* ManagementPermission("control").
|
||||
* @throws java.lang.SecurityException if a security manager
|
||||
* exists and the caller does not have
|
||||
* ManagementPermission("control").
|
||||
*/
|
||||
public void setVerbose(boolean value);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue