提交 f30ed5da 编写于 作者: J jlahoda

8153243: make docs should generate JShell API docs

Summary: Tweaking JShell javadoc so that it can be built without warnings/errors.
Reviewed-by: rfield, erikj
上级 f5e99a6e
......@@ -55,8 +55,7 @@ public abstract class Diag {
* <p>{@code getPosition() <= getEndPosition()}
*
* @return character offset from beginning of source; {@link
* #NOPOS} if {@link #getSource()} would return {@code null} or if
* no location is suitable
* #NOPOS} if the position is not available.
*/
public abstract long getPosition();
......
......@@ -384,7 +384,7 @@ public class JShell implements AutoCloseable {
/**
* The specified path is added to the end of the classpath used in eval().
* Note that the unnamed package is not accessible from the package in which
* {@link JShell#eval()} code is placed.
* {@link JShell#eval(String)} code is placed.
* @param path the path to add to the classpath.
*/
public void addToClasspath(String path) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册