8179460: Fix unnecessary uses of {@docRoot} in serviceability APIs

Reviewed-by: mchung
This commit is contained in:
Jonathan Gibbons 2017-04-28 15:41:38 -07:00
parent 7f3d5dc40b
commit 0a727480c2
4 changed files with 7 additions and 10 deletions

View File

@ -34,8 +34,8 @@ import javax.swing.SwingWorker;
/** /**
* A JConsole plugin class. JConsole uses the * A JConsole plugin class. JConsole uses the
* <a href="{@docRoot}/../../../../api/java/util/ServiceLoader.html"> * {@link java.util.ServiceLoader service provider}
* service provider</a> mechanism to search the JConsole plugins. * mechanism to search the JConsole plugins.
* Users can provide their JConsole plugins in a jar file * Users can provide their JConsole plugins in a jar file
* containing a file named * containing a file named
* *
@ -67,8 +67,7 @@ import javax.swing.SwingWorker;
* call its {@link #getTabs getTabs} method and add the returned * call its {@link #getTabs getTabs} method and add the returned
* tabs to the JConsole window. * tabs to the JConsole window.
* *
* @see <a href="{@docRoot}/../../../../api/java/util/ServiceLoader.html"> * @see java.util.ServiceLoader
* java.util.ServiceLoader</a>
* *
* @since 1.6 * @since 1.6
*/ */

View File

@ -92,7 +92,7 @@ public interface ThreadGroupReference extends ObjectReference {
* Returns a List containing each active {@link ThreadGroupReference} in this * Returns a List containing each active {@link ThreadGroupReference} in this
* thread group. Only the active thread groups in this immediate thread group * thread group. Only the active thread groups in this immediate thread group
* (and not its subgroups) are returned. * (and not its subgroups) are returned.
* See <a href="{@docRoot}/../../../../api/java/lang/ThreadGroup.html">java.lang.ThreadGroup</a> * See {@link java.lang.ThreadGroup}
* for information about 'active' ThreadGroups. * for information about 'active' ThreadGroups.
* @return a List of {@link ThreadGroupReference} objects mirroring the * @return a List of {@link ThreadGroupReference} objects mirroring the
* active thread groups from this thread group in the target VM. * active thread groups from this thread group in the target VM.

View File

@ -205,7 +205,7 @@ import javax.management.DynamicMBean;
* Virtual Machine is modified, the {@code DiagnosticCommandMBean} emits * Virtual Machine is modified, the {@code DiagnosticCommandMBean} emits
* a {@link javax.management.Notification} with a * a {@link javax.management.Notification} with a
* {@linkplain javax.management.Notification#getType() type} of * {@linkplain javax.management.Notification#getType() type} of
* <a href="{@docRoot}/../../../../api/javax/management/MBeanInfo.html#info-changed"> * <a href="{@docRoot}/javax/management/MBeanInfo.html#info-changed">
* {@code "jmx.mbean.info.changed"}</a> and a * {@code "jmx.mbean.info.changed"}</a> and a
* {@linkplain javax.management.Notification#getUserData() userData} that * {@linkplain javax.management.Notification#getUserData() userData} that
* is the new {@code MBeanInfo}. * is the new {@code MBeanInfo}.

View File

@ -26,15 +26,13 @@
/** /**
* This package contains Oracle Corporation's platform extension to * This package contains Oracle Corporation's platform extension to
* the implementation of the * the implementation of the
* <a href="{@docRoot}/../../../../api/java/lang/management/package-summary.html"> * {@link java.lang.management} API and also defines the management
* java.lang.management</a> API and also defines the management
* interface for some other components for the platform. * interface for some other components for the platform.
* *
* <p> * <p>
* All platform MBeans are registered in the <em>platform MBeanServer</em> * All platform MBeans are registered in the <em>platform MBeanServer</em>
* which can be obtained via the * which can be obtained via the
* <a href="{@docRoot}/../../../../api/java/lang/management/ManagementFactory.html#getPlatformMBeanServer()"> * {@link java.lang.management.ManagementFactory#getPlatformMBeanServer}
* java.lang.management.ManagementFactory.getPlatformMBeanServer</a>
* *
* @author Mandy Chung * @author Mandy Chung
* @since 1.5 * @since 1.5