How to make javadoc documentation available in JSh

2019-05-04 17:13发布

问题:

I am using JShell to test a library for which I made classes, sources, and javadoc available through the class path like so:

jshell --class-path library-javadoc.jar:library-sources.jar:library-jar-with-dependencies.jar

Still, when double tab after a documented Java identifier I receive:

<no documentation found>

How does JShell expect the documentation?

回答1:

Seems to be a unresolved issue: https://bugs.openjdk.java.net/browse/JDK-8186876