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

JShell: Javadoc is not working for some methods

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b157
    • Verification:
      Verified

      Backports

        Description

        From Paul Deitl:
        jshell> Collections.max(
        T Collections.<T extends Object & Comparable<? super T>>max(Collection<? extends T> coll)
        T Collections.<T>max(Collection<? extends T> coll, Comparator<? super T> comp)
        <press shift-tab again to see javadoc>

        jshell> Collections.max(
        T Collections.<T extends Object &Comparable<? super T>>max(Collection<? extends T> coll)
        <no javadoc found>
        T Collections.<T>max(Collection<? extends T> coll, Comparator<? super T> comp)
        <no javadoc found>


        On Mac, when I do docs for the Math.abs overloads, after the first is displayed and I press the space key, then next overload’s javadoc overwrites the “press space” note for continuing to the next javadoc. Unforunately, this results in lines like:


                long Math.abs(long a) javadoc, Q to quit>

        in the middle of the documentation.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                jlahoda Jan Lahoda
                Reporter:
                jlahoda Jan Lahoda
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: