8280492: Use cross-module syntax for cross-module links
Reviewed-by: iris, serb, lancea, dfuchs, aivanov
This commit is contained in:
parent
a5416669a5
commit
8e82d0021c
src
java.base/share/classes/java
io
lang
net
text
util
java.datatransfer/share/classes/java/awt/datatransfer
java.logging/share/classes/java/util/logging
java.management/share/classes
java/lang/management
javax/management/remote
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1994, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1994, 2022, 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
|
||||
@ -34,7 +34,7 @@ package java.io;
|
||||
*
|
||||
* @author Arthur van Hoff
|
||||
* @author Jonathan Payne
|
||||
* @see java.awt.FileDialog#setFilenameFilter(java.io.FilenameFilter)
|
||||
* @see java.desktop/java.awt.FileDialog#setFilenameFilter(java.io.FilenameFilter)
|
||||
* @see java.io.File
|
||||
* @see java.io.File#list(java.io.FilenameFilter)
|
||||
* @since 1.0
|
||||
|
@ -10302,7 +10302,7 @@ class Character implements java.io.Serializable, Comparable<Character>, Constabl
|
||||
* @see Character#isJavaIdentifierPart(char)
|
||||
* @see Character#isLetter(char)
|
||||
* @see Character#isUnicodeIdentifierStart(char)
|
||||
* @see javax.lang.model.SourceVersion#isIdentifier(CharSequence)
|
||||
* @see java.compiler/javax.lang.model.SourceVersion#isIdentifier(CharSequence)
|
||||
* @since 1.1
|
||||
*/
|
||||
public static boolean isJavaIdentifierStart(char ch) {
|
||||
@ -10331,7 +10331,7 @@ class Character implements java.io.Serializable, Comparable<Character>, Constabl
|
||||
* @see Character#isJavaIdentifierPart(int)
|
||||
* @see Character#isLetter(int)
|
||||
* @see Character#isUnicodeIdentifierStart(int)
|
||||
* @see javax.lang.model.SourceVersion#isIdentifier(CharSequence)
|
||||
* @see java.compiler/javax.lang.model.SourceVersion#isIdentifier(CharSequence)
|
||||
* @since 1.5
|
||||
*/
|
||||
public static boolean isJavaIdentifierStart(int codePoint) {
|
||||
@ -10368,7 +10368,7 @@ class Character implements java.io.Serializable, Comparable<Character>, Constabl
|
||||
* @see Character#isJavaIdentifierStart(char)
|
||||
* @see Character#isLetterOrDigit(char)
|
||||
* @see Character#isUnicodeIdentifierPart(char)
|
||||
* @see javax.lang.model.SourceVersion#isIdentifier(CharSequence)
|
||||
* @see java.compiler/javax.lang.model.SourceVersion#isIdentifier(CharSequence)
|
||||
* @since 1.1
|
||||
*/
|
||||
public static boolean isJavaIdentifierPart(char ch) {
|
||||
@ -10401,7 +10401,7 @@ class Character implements java.io.Serializable, Comparable<Character>, Constabl
|
||||
* @see Character#isJavaIdentifierStart(int)
|
||||
* @see Character#isLetterOrDigit(int)
|
||||
* @see Character#isUnicodeIdentifierPart(int)
|
||||
* @see javax.lang.model.SourceVersion#isIdentifier(CharSequence)
|
||||
* @see java.compiler/javax.lang.model.SourceVersion#isIdentifier(CharSequence)
|
||||
* @since 1.5
|
||||
*/
|
||||
public static boolean isJavaIdentifierPart(int codePoint) {
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1994, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1994, 2022, 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
|
||||
@ -1207,7 +1207,7 @@ public final class System {
|
||||
* <b>Severity values and Mapping to {@code java.util.logging.Level}.</b>
|
||||
* <p>
|
||||
* {@linkplain System.Logger.Level System logger levels} are mapped to
|
||||
* {@linkplain java.util.logging.Level java.util.logging levels}
|
||||
* {@linkplain java.logging/java.util.logging.Level java.util.logging levels}
|
||||
* of corresponding severity.
|
||||
* <br>The mapping is as follows:
|
||||
* <br><br>
|
||||
@ -1219,19 +1219,19 @@ public final class System {
|
||||
* </thead>
|
||||
* <tbody>
|
||||
* <tr><th scope="row">{@link Logger.Level#ALL ALL}</th>
|
||||
* <td>{@link java.util.logging.Level#ALL ALL}</td>
|
||||
* <td>{@link java.logging/java.util.logging.Level#ALL ALL}</td>
|
||||
* <tr><th scope="row">{@link Logger.Level#TRACE TRACE}</th>
|
||||
* <td>{@link java.util.logging.Level#FINER FINER}</td>
|
||||
* <td>{@link java.logging/java.util.logging.Level#FINER FINER}</td>
|
||||
* <tr><th scope="row">{@link Logger.Level#DEBUG DEBUG}</th>
|
||||
* <td>{@link java.util.logging.Level#FINE FINE}</td>
|
||||
* <td>{@link java.logging/java.util.logging.Level#FINE FINE}</td>
|
||||
* <tr><th scope="row">{@link Logger.Level#INFO INFO}</th>
|
||||
* <td>{@link java.util.logging.Level#INFO INFO}</td>
|
||||
* <td>{@link java.logging/java.util.logging.Level#INFO INFO}</td>
|
||||
* <tr><th scope="row">{@link Logger.Level#WARNING WARNING}</th>
|
||||
* <td>{@link java.util.logging.Level#WARNING WARNING}</td>
|
||||
* <td>{@link java.logging/java.util.logging.Level#WARNING WARNING}</td>
|
||||
* <tr><th scope="row">{@link Logger.Level#ERROR ERROR}</th>
|
||||
* <td>{@link java.util.logging.Level#SEVERE SEVERE}</td>
|
||||
* <td>{@link java.logging/java.util.logging.Level#SEVERE SEVERE}</td>
|
||||
* <tr><th scope="row">{@link Logger.Level#OFF OFF}</th>
|
||||
* <td>{@link java.util.logging.Level#OFF OFF}</td>
|
||||
* <td>{@link java.logging/java.util.logging.Level#OFF OFF}</td>
|
||||
* </tbody>
|
||||
* </table>
|
||||
*
|
||||
@ -1542,7 +1542,7 @@ public final class System {
|
||||
* {@code java.util.logging} as the backend framework when the
|
||||
* {@code java.logging} module is present.
|
||||
* It returns a {@linkplain System.Logger logger} instance
|
||||
* that will route log messages to a {@link java.util.logging.Logger
|
||||
* that will route log messages to a {@link java.logging/java.util.logging.Logger
|
||||
* java.util.logging.Logger}. Otherwise, if {@code java.logging} is not
|
||||
* present, the default implementation will return a simple logger
|
||||
* instance that will route log messages of {@code INFO} level and above to
|
||||
@ -1556,7 +1556,7 @@ public final class System {
|
||||
* logging backend, and usually requires using APIs specific to that backend.
|
||||
* <p>For the default {@code LoggerFinder} implementation
|
||||
* using {@code java.util.logging} as its backend, refer to
|
||||
* {@link java.util.logging java.util.logging} for logging configuration.
|
||||
* {@link java.logging/java.util.logging java.util.logging} for logging configuration.
|
||||
* For the default {@code LoggerFinder} implementation returning simple loggers
|
||||
* when the {@code java.logging} module is absent, the configuration
|
||||
* is implementation dependent.
|
||||
@ -1591,7 +1591,7 @@ public final class System {
|
||||
* System.Logger.Level} to a level supported by the logging backend it uses.
|
||||
* <br>The default LoggerFinder using {@code java.util.logging} as the backend
|
||||
* maps {@code System.Logger} levels to
|
||||
* {@linkplain java.util.logging.Level java.util.logging} levels
|
||||
* {@linkplain java.logging/java.util.logging.Level java.util.logging} levels
|
||||
* of corresponding severity - as described in {@link Logger.Level
|
||||
* Logger.Level}.
|
||||
*
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2008, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2008, 2022, 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
|
||||
@ -88,7 +88,7 @@ public class MethodHandleProxies {
|
||||
* Therefore, each instance must implement a unique single-method interface.
|
||||
* Implementations may not bundle together
|
||||
* multiple single-method interfaces onto single implementation classes
|
||||
* in the style of {@link java.awt.AWTEventMulticaster}.
|
||||
* in the style of {@link java.desktop/java.awt.AWTEventMulticaster}.
|
||||
* <p>
|
||||
* The method handle may throw an <em>undeclared exception</em>,
|
||||
* which means any checked exception (or other checked throwable)
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2008, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2008, 2022, 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
|
||||
@ -2002,7 +2002,7 @@ public class MethodHandles {
|
||||
* there is no internal form available to record in any class's constant pool.
|
||||
* A hidden class or interface is not discoverable by {@link Class#forName(String, boolean, ClassLoader)},
|
||||
* {@link ClassLoader#loadClass(String, boolean)}, or {@link #findClass(String)}, and
|
||||
* is not {@linkplain java.lang.instrument.Instrumentation#isModifiableClass(Class)
|
||||
* is not {@linkplain java.instrument/java.lang.instrument.Instrumentation#isModifiableClass(Class)
|
||||
* modifiable} by Java agents or tool agents using the <a href="{@docRoot}/../specs/jvmti.html">
|
||||
* JVM Tool Interface</a>.
|
||||
*
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1998, 2022, 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
|
||||
@ -122,7 +122,7 @@
|
||||
* <li>{@link java.net.HttpURLConnection} is a subclass of URLConnection
|
||||
* and provides some additional functionalities specific to the
|
||||
* HTTP protocol. This API has been superseded by the newer
|
||||
* {@linkplain java.net.http HTTP Client API}.</li>
|
||||
* {@linkplain java.net.http/java.net.http HTTP Client API}.</li>
|
||||
* </ul>
|
||||
* <p>The recommended usage is to use {@link java.net.URI} to identify
|
||||
* resources, then convert it into a {@link java.net.URL} when it is time to
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2022, 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
|
||||
@ -67,10 +67,10 @@ import java.util.Set;
|
||||
*
|
||||
* <p>
|
||||
* Attribute keys are instances of {@link AttributedCharacterIterator.Attribute} and its
|
||||
* subclasses, such as {@link java.awt.font.TextAttribute}.
|
||||
* subclasses, such as {@link java.desktop/java.awt.font.TextAttribute}.
|
||||
*
|
||||
* @see AttributedCharacterIterator.Attribute
|
||||
* @see java.awt.font.TextAttribute
|
||||
* @see java.desktop/java.awt.font.TextAttribute
|
||||
* @see AttributedString
|
||||
* @see Annotation
|
||||
* @since 1.2
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2000, 2022, 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
|
||||
@ -121,9 +121,9 @@ public final class Bidi {
|
||||
*
|
||||
* @param paragraph a paragraph of text with optional character and paragraph attribute information
|
||||
*
|
||||
* @see java.awt.font.TextAttribute#BIDI_EMBEDDING
|
||||
* @see java.awt.font.TextAttribute#NUMERIC_SHAPING
|
||||
* @see java.awt.font.TextAttribute#RUN_DIRECTION
|
||||
* @see java.desktop/java.awt.font.TextAttribute#BIDI_EMBEDDING
|
||||
* @see java.desktop/java.awt.font.TextAttribute#NUMERIC_SHAPING
|
||||
* @see java.desktop/java.awt.font.TextAttribute#RUN_DIRECTION
|
||||
*/
|
||||
public Bidi(AttributedCharacterIterator paragraph) {
|
||||
if (paragraph == null) {
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1994, 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1994, 2022, 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
|
||||
@ -66,7 +66,7 @@ package java.util;
|
||||
* {@code Observable} is unspecified, and state changes are not in
|
||||
* one-for-one correspondence with notifications.
|
||||
* For a richer event model, consider using the
|
||||
* {@link java.beans} package. For reliable and ordered
|
||||
* {@link java.desktop/java.beans} package. For reliable and ordered
|
||||
* messaging among threads, consider using one of the concurrent data
|
||||
* structures in the {@link java.util.concurrent} package.
|
||||
* For reactive streams style programming, see the
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2005, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2005, 2022, 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
|
||||
@ -1585,7 +1585,7 @@ public final class ServiceLoader<S>
|
||||
* are located in the order that its module descriptor {@linkplain
|
||||
* java.lang.module.ModuleDescriptor.Provides#providers() lists the
|
||||
* providers}. Providers added dynamically by instrumentation agents (see
|
||||
* {@link java.lang.instrument.Instrumentation#redefineModule redefineModule})
|
||||
* {@link java.instrument/java.lang.instrument.Instrumentation#redefineModule redefineModule})
|
||||
* are always located after providers declared by the module. </p> </li>
|
||||
*
|
||||
* <li> <p> Step 2: Locate providers in unnamed modules. </p>
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1996, 2017, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1996, 2022, 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
|
||||
@ -43,8 +43,8 @@ import sun.datatransfer.DataFlavorUtil;
|
||||
*
|
||||
* @author Amy Fowler
|
||||
* @author Alexander Gerasimov
|
||||
* @see java.awt.Toolkit#getSystemClipboard
|
||||
* @see java.awt.Toolkit#getSystemSelection
|
||||
* @see java.desktop/java.awt.Toolkit#getSystemClipboard
|
||||
* @see java.desktop/java.awt.Toolkit#getSystemSelection
|
||||
* @since 1.1
|
||||
*/
|
||||
public class Clipboard {
|
||||
@ -81,7 +81,7 @@ public class Clipboard {
|
||||
* Creates a clipboard object.
|
||||
*
|
||||
* @param name for the clipboard
|
||||
* @see java.awt.Toolkit#getSystemClipboard
|
||||
* @see java.desktop/java.awt.Toolkit#getSystemClipboard
|
||||
*/
|
||||
public Clipboard(String name) {
|
||||
this.name = name;
|
||||
@ -91,7 +91,7 @@ public class Clipboard {
|
||||
* Returns the name of this clipboard object.
|
||||
*
|
||||
* @return the name of this clipboard object
|
||||
* @see java.awt.Toolkit#getSystemClipboard
|
||||
* @see java.desktop/java.awt.Toolkit#getSystemClipboard
|
||||
*/
|
||||
public String getName() {
|
||||
return name;
|
||||
@ -118,7 +118,7 @@ public class Clipboard {
|
||||
* content
|
||||
* @param owner the object which owns the clipboard content
|
||||
* @throws IllegalStateException if the clipboard is currently unavailable
|
||||
* @see java.awt.Toolkit#getSystemClipboard
|
||||
* @see java.desktop/java.awt.Toolkit#getSystemClipboard
|
||||
*/
|
||||
public synchronized void setContents(Transferable contents, ClipboardOwner owner) {
|
||||
final ClipboardOwner oldOwner = this.owner;
|
||||
@ -145,7 +145,7 @@ public class Clipboard {
|
||||
* @param requestor the object requesting the clip data (not used)
|
||||
* @return the current transferable object on the clipboard
|
||||
* @throws IllegalStateException if the clipboard is currently unavailable
|
||||
* @see java.awt.Toolkit#getSystemClipboard
|
||||
* @see java.desktop/java.awt.Toolkit#getSystemClipboard
|
||||
*/
|
||||
public synchronized Transferable getContents(Object requestor) {
|
||||
return contents;
|
||||
|
@ -2556,10 +2556,10 @@ public class LogManager {
|
||||
|
||||
/**
|
||||
* String representation of the
|
||||
* {@link javax.management.ObjectName} for the management interface
|
||||
* {@link java.management/javax.management.ObjectName} for the management interface
|
||||
* for the logging facility.
|
||||
*
|
||||
* @see java.lang.management.PlatformLoggingMXBean
|
||||
* @see java.management/java.lang.management.PlatformLoggingMXBean
|
||||
*
|
||||
* @since 1.5
|
||||
*/
|
||||
@ -2573,11 +2573,11 @@ public class LogManager {
|
||||
*
|
||||
* @deprecated {@code java.util.logging.LoggingMXBean} is deprecated and
|
||||
* replaced with {@code java.lang.management.PlatformLoggingMXBean}. Use
|
||||
* {@link java.lang.management.ManagementFactory#getPlatformMXBean(Class)
|
||||
* {@link java.management/java.lang.management.ManagementFactory#getPlatformMXBean(Class)
|
||||
* ManagementFactory.getPlatformMXBean}(PlatformLoggingMXBean.class)
|
||||
* instead.
|
||||
*
|
||||
* @see java.lang.management.PlatformLoggingMXBean
|
||||
* @see java.management/java.lang.management.PlatformLoggingMXBean
|
||||
* @since 1.5
|
||||
*/
|
||||
@Deprecated(since="9")
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2003, 2022, 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
|
||||
@ -29,18 +29,18 @@ package java.util.logging;
|
||||
/**
|
||||
* The management interface for the logging facility.
|
||||
*
|
||||
* {@link java.lang.management.PlatformLoggingMXBean
|
||||
* {@link java.management/java.lang.management.PlatformLoggingMXBean
|
||||
* java.lang.management.PlatformLoggingMXBean} is the management interface
|
||||
* for logging facility registered in the {@link
|
||||
* java.lang.management.ManagementFactory#getPlatformMBeanServer()
|
||||
* java.management/java.lang.management.ManagementFactory#getPlatformMBeanServer()
|
||||
* platform MBeanServer}.
|
||||
* It is recommended to use the {@code PlatformLoggingMXBean} obtained via
|
||||
* the {@link java.lang.management.ManagementFactory#getPlatformMXBean(Class)
|
||||
* the {@link java.management/java.lang.management.ManagementFactory#getPlatformMXBean(Class)
|
||||
* ManagementFactory.getPlatformMXBean(PlatformLoggingMXBean.class)} method.
|
||||
*
|
||||
* @deprecated {@code LoggingMXBean} is no longer a {@link
|
||||
* java.lang.management.PlatformManagedObject platform MXBean} and is replaced
|
||||
* with {@link java.lang.management.PlatformLoggingMXBean}.
|
||||
* java.management/java.lang.management.PlatformManagedObject platform MXBean} and is replaced
|
||||
* with {@link java.management/java.lang.management.PlatformLoggingMXBean}.
|
||||
* It will not register in the platform {@code MBeanServer}.
|
||||
* Use {@code ManagementFactory.getPlatformMXBean(PlatformLoggingMXBean.class)}
|
||||
* instead.
|
||||
@ -49,7 +49,7 @@ package java.util.logging;
|
||||
* @author Mandy Chung
|
||||
* @since 1.5
|
||||
*
|
||||
* @see java.lang.management.PlatformLoggingMXBean
|
||||
* @see java.management/java.lang.management.PlatformLoggingMXBean
|
||||
*/
|
||||
@Deprecated(since="9")
|
||||
public interface LoggingMXBean {
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2003, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2003, 2022, 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
|
||||
@ -176,7 +176,7 @@ import sun.management.spi.PlatformMBeanProvider.PlatformComponent;
|
||||
* </tr>
|
||||
* <tr>
|
||||
* <th scope="row"> {@link PlatformLoggingMXBean} </th>
|
||||
* <td> {@link java.util.logging.LogManager#LOGGING_MXBEAN_NAME
|
||||
* <td> {@link java.logging/java.util.logging.LogManager#LOGGING_MXBEAN_NAME
|
||||
* java.util.logging:type=Logging}</td>
|
||||
* </tr>
|
||||
* </tbody>
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2009, 2022, 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
|
||||
@ -26,7 +26,7 @@
|
||||
package java.lang.management;
|
||||
|
||||
/**
|
||||
* The management interface for the {@linkplain java.util.logging logging} facility.
|
||||
* The management interface for the {@linkplain java.logging/java.util.logging logging} facility.
|
||||
*
|
||||
* <p>There is a single global instance of the {@code PlatformLoggingMXBean}.
|
||||
* The {@link java.lang.management.ManagementFactory#getPlatformMXBean(Class)
|
||||
@ -41,7 +41,7 @@ package java.lang.management;
|
||||
* The {@link javax.management.ObjectName ObjectName} for uniquely
|
||||
* identifying the {@code PlatformLoggingMXBean} within an MBeanServer is:
|
||||
* <pre>
|
||||
* {@link java.util.logging.LogManager#LOGGING_MXBEAN_NAME java.util.logging:type=Logging}
|
||||
* {@link java.logging/java.util.logging.LogManager#LOGGING_MXBEAN_NAME java.util.logging:type=Logging}
|
||||
* </pre>
|
||||
*
|
||||
* @since 1.7
|
||||
@ -50,8 +50,8 @@ public interface PlatformLoggingMXBean extends PlatformManagedObject {
|
||||
|
||||
/**
|
||||
* Returns the list of the currently registered
|
||||
* {@linkplain java.util.logging.Logger logger} names. This method
|
||||
* calls {@link java.util.logging.LogManager#getLoggerNames} and
|
||||
* {@linkplain java.logging/java.util.logging.Logger logger} names. This method
|
||||
* calls {@link java.logging/java.util.logging.LogManager#getLoggerNames} and
|
||||
* returns a list of the logger names.
|
||||
*
|
||||
* @return A list of {@code String} each of which is a
|
||||
@ -60,15 +60,15 @@ public interface PlatformLoggingMXBean extends PlatformManagedObject {
|
||||
java.util.List<String> getLoggerNames();
|
||||
|
||||
/**
|
||||
* Gets the name of the log {@linkplain java.util.logging.Logger#getLevel
|
||||
* Gets the name of the log {@linkplain java.logging/java.util.logging.Logger#getLevel
|
||||
* level} associated with the specified logger.
|
||||
* If the specified logger does not exist, {@code null}
|
||||
* is returned.
|
||||
* This method first finds the logger of the given name and
|
||||
* then returns the name of the log level by calling:
|
||||
* <blockquote>
|
||||
* {@link java.util.logging.Logger#getLevel
|
||||
* Logger.getLevel()}.{@link java.util.logging.Level#getName getName()};
|
||||
* {@link java.logging/java.util.logging.Logger#getLevel
|
||||
* Logger.getLevel()}.{@link java.logging/java.util.logging.Level#getName getName()};
|
||||
* </blockquote>
|
||||
*
|
||||
* <p>
|
||||
@ -83,16 +83,16 @@ public interface PlatformLoggingMXBean extends PlatformManagedObject {
|
||||
* is {@code null}. If the specified logger does not
|
||||
* exist, {@code null} is returned.
|
||||
*
|
||||
* @see java.util.logging.Logger#getLevel
|
||||
* @see java.logging/java.util.logging.Logger#getLevel
|
||||
*/
|
||||
String getLoggerLevel(String loggerName);
|
||||
|
||||
/**
|
||||
* Sets the specified logger to the specified new
|
||||
* {@linkplain java.util.logging.Logger#setLevel level}.
|
||||
* {@linkplain java.logging/java.util.logging.Logger#setLevel level}.
|
||||
* If the {@code levelName} is not {@code null}, the level
|
||||
* of the specified logger is set to the parsed
|
||||
* {@link java.util.logging.Level Level}
|
||||
* {@link java.logging/java.util.logging.Level Level}
|
||||
* matching the {@code levelName}.
|
||||
* If the {@code levelName} is {@code null}, the level
|
||||
* of the specified logger is set to {@code null} and
|
||||
@ -111,13 +111,13 @@ public interface PlatformLoggingMXBean extends PlatformManagedObject {
|
||||
* @throws SecurityException if a security manager exists and if
|
||||
* the caller does not have LoggingPermission("control").
|
||||
*
|
||||
* @see java.util.logging.Logger#setLevel
|
||||
* @see java.logging/java.util.logging.Logger#setLevel
|
||||
*/
|
||||
void setLoggerLevel(String loggerName, String levelName);
|
||||
|
||||
/**
|
||||
* Returns the name of the
|
||||
* {@linkplain java.util.logging.Logger#getParent parent}
|
||||
* {@linkplain java.logging/java.util.logging.Logger#getParent parent}
|
||||
* for the specified logger.
|
||||
* If the specified logger does not exist, {@code null} is returned.
|
||||
* If the specified logger is the root {@code Logger} in the namespace,
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2005, 2022, 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
|
||||
@ -32,7 +32,7 @@ package javax.management.remote;
|
||||
* Depending on the connector implementation, a {@link JMXConnector}
|
||||
* object may implement this interface too. {@code JMXConnector}
|
||||
* objects for the RMI Connector are instances of
|
||||
* {@link javax.management.remote.rmi.RMIConnector RMIConnector} which
|
||||
* {@link java.management.rmi/javax.management.remote.rmi.RMIConnector RMIConnector} which
|
||||
* implements this interface.</p>
|
||||
*
|
||||
* <p>An object implementing this interface might not have an address
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2002, 2007, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2002, 2022, 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
|
||||
@ -38,7 +38,7 @@ import javax.management.MBeanServer;
|
||||
* <code>JMXServerErrorException</code> instance contains the original
|
||||
* <code>Error</code> that occurred as its cause.
|
||||
*
|
||||
* @see java.rmi.ServerError
|
||||
* @see java.rmi/java.rmi.ServerError
|
||||
* @since 1.5
|
||||
*/
|
||||
public class JMXServerErrorException extends IOException {
|
||||
|
Loading…
x
Reference in New Issue
Block a user