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

JShell: Javadoc is not working for some methods

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • tools
    • b157
    • Verified

        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.

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

                Created:
                Updated:
                Resolved: