如何在JShell中提供javadoc文档?

问题描述:

我正在使用JShell来测试一个库,我通过类路径为它提供类,源和javadoc,如下所示:

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

但是,当我收到记录的Java标识符之后的双标签时:

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

<no documentation found>

JShell如何期待文档?

How does JShell expect the documentation?

似乎是一个未解决的问题: https: //bugs.openjdk.java.net/browse/JDK-8186876

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