JDK-8043332 : JMenu link from javadoc to tutorial is broken
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 7u45
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2013-12-13
  • Updated: 2014-05-16
  • Resolved: 2014-05-16
Related Reports
Duplicate :  
Description
A DESCRIPTION OF THE PROBLEM :
In the documentation there is the paragraph:
"For information and examples of using menus see How to Use Menus, a section in The Java Tutorial."
Link from "How to Use Menus" is:
 http://java.sun.com/doc/books/tutorial/uiswing/components/menu.html which is redirecting to Oracle's main page.



EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The link must be:
 http://java.sun.com/docs/books/tutorial/uiswing/components/menu.html
ACTUAL -
Current link:
http://java.sun.com/doc/books/tutorial/uiswing/components/menu.html

URL OF FAULTY DOCUMENTATION :
http://docs.oracle.com/javase/7/docs/api/javax/swing/JMenu.html
Comments
Probably not worth fixing in JDK 7u since we don't update the Javadoc files.
16-05-2014

Fixed in JDK 8 and later via JDK-8020688
16-05-2014