JDK-8174245 : JShell: Javadoc is not working for some methods
  • Type: Bug
  • Component: tools
  • Sub-Component: jshell
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2017-02-09
  • Updated: 2017-02-23
  • Resolved: 2017-02-13
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 10 JDK 9
10Fixed 9 b157Fixed
Related Reports
Blocks :  
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.

Comments
Fix proposed: http://mail.openjdk.java.net/pipermail/kulla-dev/2017-February/001901.html
09-02-2017