7009422: Two dead links in Swing API documentation
authorrupashka
Thu, 31 Mar 2011 17:04:31 +0400
changeset 8982 19c972e3d3ee
parent 8981 3bf2f0d35e8a
child 8984 fbedde2feaa7
7009422: Two dead links in Swing API documentation Reviewed-by: darcy, art
jdk/src/share/classes/java/awt/Component.java
jdk/src/share/classes/java/lang/CharSequence.java
--- a/jdk/src/share/classes/java/awt/Component.java	Wed Mar 30 15:52:32 2011 -0700
+++ b/jdk/src/share/classes/java/awt/Component.java	Thu Mar 31 17:04:31 2011 +0400
@@ -5795,7 +5795,7 @@
      * <code>InputMethodRequests</code> instance.
      * If listener <code>l</code> is <code>null</code>,
      * no exception is thrown and no action is performed.
-     * <p>Refer to <a href="doc-files/AWTThreadIssues.html#ListenersThreads"
+     * <p>Refer to <a href="{@docRoot}/java/awt/doc-files/AWTThreadIssues.html#ListenersThreads"
      * >AWT Threading Issues</a> for details on AWT's threading model.
      *
      * @param    l   the input method listener
--- a/jdk/src/share/classes/java/lang/CharSequence.java	Wed Mar 30 15:52:32 2011 -0700
+++ b/jdk/src/share/classes/java/lang/CharSequence.java	Thu Mar 31 17:04:31 2011 +0400
@@ -66,7 +66,7 @@
      * indexing. </p>
      *
      * <p>If the <code>char</code> value specified by the index is a
-     * <a href="Character.html#unicode">surrogate</a>, the surrogate
+     * <a href="{@docRoot}/java/lang/Character.html#unicode">surrogate</a>, the surrogate
      * value is returned.
      *
      * @param   index   the index of the <code>char</code> value to be returned