<Swing Dev> [14] RFR JDK-8227607: Broken external links in java.desktop

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Wed Dec 4 02:01:00 UTC 2019


Hi, Prasanta.
Probably we can inline some information from the element_interface.html to the JavaDoc itself? The JavaDoc already has some similar schemes.

On 12/2/19 2:37 am, Prasanta Sadhukhan wrote:
> Hi All,
> 
> Please review a doc-fix for removing some dead links from the specifications. These links were part of java.sun.com but has not been migrated to docs.oracle.com so it's better to remove them
> 
> Bug: https://bugs.openjdk.java.net/browse/JDK-8227607
> 
> diff -r 7637e77c4c8a src/java.desktop/share/classes/javax/swing/Timer.java
> --- a/src/java.desktop/share/classes/javax/swing/Timer.java Mon Dec 02 11:58:14 2019 +0530
> +++ b/src/java.desktop/share/classes/javax/swing/Timer.java Mon Dec 02 16:02:08 2019 +0530
> @@ -124,13 +124,6 @@
>    * <a href="https://docs.oracle.com/javase/tutorial/uiswing/misc/timer.html"
>    * target = "_top">How to Use Timers</a>,
>    * a section in <em>The Java Tutorial.</em>
> *- * For more examples and help in choosing between**
> **- * this <code>Timer</code> class and**
> **- * <code>java.util.Timer</code>,**
> **- * see**
> **- * <a href="http://java.sun.com/products/jfc/tsc/articles/timer/"**
> **- * target="_top">Using Timers in Swing Applications</a>,**
> **- * an article in <em>The Swing Connection.</em>*
>    * <p>
>    * <strong>Warning:</strong>
>    * Serialized objects of this class will not be compatible with
> diff -r 7637e77c4c8a src/java.desktop/share/classes/javax/swing/text/Document.java
> --- a/src/java.desktop/share/classes/javax/swing/text/Document.java Mon Dec 02 11:58:14 2019 +0530
> +++ b/src/java.desktop/share/classes/javax/swing/text/Document.java Mon Dec 02 16:02:08 2019 +0530
> @@ -167,9 +167,6 @@
>    *
>    * <p>For more information on the <code>Document</code> class, see
>    * <a href="http://www.oracle.com/technetwork/java/javase/tech/articles-jsp-139072.html">The Swing Connection</a>
> *- * and most particularly the article,**
> **- * <a href="http://java.sun.com/products/jfc/tsc/articles/text/element_interface">**
> **- * The Element Interface</a>.*
>    *
>    * @author  Timothy Prinzing
> 
> 
> Regards
> 
> Prasanta
> 


-- 
Best regards, Sergey.


More information about the swing-dev mailing list