Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8310868

Thread.interrupt() method's javadoc has an incorrect {@link}

XMLWordPrintable

    • b04

        The implNote in Thread.interrupt() method states:

        > * @implNote In the JDK Reference Implementation, interruption of a thread
             * that is not alive still records that the interrupt request was made and
             * will report it via {@link #interrupted} and {@link #isInterrupted()}.

        The {@link #interrupted} in its current form links to an internal package private field and should instead have been {@link #interrupted()}. In its current form the javadoc is rendered without a link to "interrupted"

              jpai Jaikiran Pai
              jpai Jaikiran Pai
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: