JShell: Javadoc is not working for some methods

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: 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.

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

                Created:
                Updated:
                Resolved: