JDK-7009422 : Two dead links in Swing API documentation
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2010-12-28
  • Updated: 2011-04-25
  • Resolved: 2011-04-25
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7 b138Fixed
Related Reports
Relates :  
Description
There are dead links in Swing API documentation, which should be fixed:

-------------------
javax.swing.text.JTextComponent

File Not Found
4529  public void addInputMethodListener(InputMethodListener l) {
The javadoc comment from the parent method JComponent.addInputMethodListener() is used. There is a link, which doesn't work for javax.swing.text package:
javax.swing.JComponent
5409       * <p>Refer to <a href="doc-files/AWTThreadIssues.html#ListenersThreads"


-------------------
javax.swing.text.Segment

File Not Found
262     public char charAt(int index) {
The javadoc comment from the interface method CharSequence.charAt() is used. There is a link, which doesn't work for javax.swing.text package:
java.lang.CharSequence
70     * <a href="Character.html#unicode">surrogate</a>, the surrogate

Comments
EVALUATION We should use absolute path in links for methods that are overrided from other packages and use inherited doc
29-03-2011