# HG changeset patch # User jjg # Date 1499883885 25200 # Node ID 6a58a7837e938172a059b654836e8796516a8d3c # Parent ca77ebd05a067dbd80adced6040afc7728da5ccd 8184225: Fix accessibility and tidy issues in jdk.jshell docs Reviewed-by: jlahoda diff -r ca77ebd05a06 -r 6a58a7837e93 langtools/src/jdk.jshell/share/classes/jdk/jshell/Snippet.java --- a/langtools/src/jdk.jshell/share/classes/jdk/jshell/Snippet.java Wed Jul 12 12:27:57 2017 +0530 +++ b/langtools/src/jdk.jshell/share/classes/jdk/jshell/Snippet.java Wed Jul 12 11:24:45 2017 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -72,7 +72,7 @@ * or a static on-demand type import * ({@link jdk.jshell.Snippet.SubKind#SINGLE_STATIC_IMPORT_SUBKIND}) -- * use {@link jdk.jshell.Snippet#subKind()} to distinguish. - *
+ * * @jls 8.3: importDeclaration. *
* An import declaration is {@linkplain Kind#isPersistent() persistent}. @@ -90,7 +90,7 @@ * classes {@link jdk.jshell.Snippet.SubKind#CLASS_SUBKIND}, enums, and * annotation interfaces -- see {@link jdk.jshell.Snippet.SubKind} to * differentiate. - *
+ * * @jls 7.6: TypeDeclaration. *
* A type declaration is {@linkplain Kind#isPersistent() persistent}. @@ -100,7 +100,7 @@ /** * A method declaration. * The snippet is an instance of {@link jdk.jshell.MethodSnippet}. - *
+ * * @jls 8.4: MethodDeclaration. *
* A method declaration is {@linkplain Kind#isPersistent() persistent}. @@ -115,7 +115,7 @@ * The variable may be with or without initializer, or be a temporary * variable representing an expression -- see * {@link jdk.jshell.Snippet.SubKind}to differentiate. - *
+ * * @jls 8.3: FieldDeclaration. *
* A variable declaration is {@linkplain Kind#isPersistent() persistent}. @@ -132,7 +132,7 @@ * names) -- see {@link jdk.jshell.Snippet.SubKind} to differentiate. * All other expression forms (operators, method calls, ...) generate a * scratch variable and so are instead of the VAR Kind. - *
+ * * @jls 15: Expression. */ EXPRESSION(false), @@ -140,7 +140,7 @@ /** * A statement. * The snippet is an instance of {@link jdk.jshell.StatementSnippet}. - *
+ * * @jls 14.5: Statement. */ STATEMENT(false), diff -r ca77ebd05a06 -r 6a58a7837e93 langtools/src/jdk.jshell/share/classes/jdk/jshell/execution/JdiExecutionControlProvider.java --- a/langtools/src/jdk.jshell/share/classes/jdk/jshell/execution/JdiExecutionControlProvider.java Wed Jul 12 12:27:57 2017 +0530 +++ b/langtools/src/jdk.jshell/share/classes/jdk/jshell/execution/JdiExecutionControlProvider.java Wed Jul 12 11:24:45 2017 -0700 @@ -90,33 +90,37 @@ * {@code ExecutionControlProvider}. The map can optionally be modified; * Modified or unmodified it can be passed to * {@link #generate(jdk.jshell.spi.ExecutionEnv, java.util.Map) }. - *
Parameter | - *Description | - *Constant Field | + *Parameter | + *Description | + *Constant Field | *
---|---|---|---|---|---|
remoteAgent | + *remoteAgent | *the remote agent to launch | *{@link #PARAM_REMOTE_AGENT} | *||
timeout | + *timeout | *milliseconds before connect timeout | *{@link #PARAM_TIMEOUT} | *||
launch | + *launch | *"true" for JDI controlled launch | *{@link #PARAM_LAUNCH} | *||
hostname | + *hostname | *connect to the named of the local host ("" for discovered) | *{@link #PARAM_HOST_NAME} | *