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

View File

@ -92,7 +92,7 @@ public interface ThreadGroupReference extends ObjectReference {
* Returns a List containing each active {@link ThreadGroupReference} in this
* thread group. Only the active thread groups in this immediate thread group
* (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.
* @return a List of {@link ThreadGroupReference} objects mirroring the
* 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
* a {@link javax.management.Notification} with a
* {@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
* {@linkplain javax.management.Notification#getUserData() userData} that
* is the new {@code MBeanInfo}.

View File

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