8153243: make docs should generate JShell API docs
Tweaking JShell javadoc so that it can be built without warnings/errors. Reviewed-by: rfield, erikj
This commit is contained in:
parent
945406686e
commit
00bcf17e91
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user