diff --git a/nashorn/src/jdk.dynalink/share/classes/jdk/dynalink/StandardOperation.java b/nashorn/src/jdk.dynalink/share/classes/jdk/dynalink/StandardOperation.java
index e5acb1b55a0..7b7865d8ed7 100644
--- a/nashorn/src/jdk.dynalink/share/classes/jdk/dynalink/StandardOperation.java
+++ b/nashorn/src/jdk.dynalink/share/classes/jdk/dynalink/StandardOperation.java
@@ -95,8 +95,8 @@ public enum StandardOperation implements Operation {
/**
* Get the value from a namespace defined on an object. Call sites with this
* operation should have a signature of
- * (receiver, name)→value or
- * (receiver)→value when used with {@link NamedOperation}, with
+ * (receiver, name)→value
or
+ * (receiver)→value
when used with {@link NamedOperation}, with
* all parameters and return type being of any type (either primitive or
* reference). This operation must always be used as part of a {@link NamespaceOperation}.
*/
@@ -104,21 +104,21 @@ public enum StandardOperation implements Operation {
/**
* Set the value in a namespace defined on an object. Call sites with this
* operation should have a signature of
- * (receiver, name, value)→void or
- * (receiver, value)→void when used with {@link NamedOperation},
+ * (receiver, name, value)→void
or
+ * (receiver, value)→void
when used with {@link NamedOperation},
* with all parameters and return type being of any type (either primitive
* or reference). This operation must always be used as part of a {@link NamespaceOperation}.
*/
SET,
/**
* Call a callable object. Call sites with this operation should have a
- * signature of (callable, receiver, arguments...)→value,
+ * signature of (callable, receiver, arguments...)→value
,
* with all parameters and return type being of any type (either primitive or
* reference). Typically, the callables are presumed to be methods of an object, so
* an explicit receiver value is always passed to the callable before the arguments.
* If a callable has no concept of a receiver, it is free to ignore the value of the
* receiver argument.
- * The CALL operation is allowed to be used with a
+ * The {@code CALL} operation is allowed to be used with a
* {@link NamedOperation} even though it does not take a name. Using it with
* a named operation won't affect its signature; the name is solely meant to
* be used as a diagnostic description for error messages.
@@ -126,9 +126,9 @@ public enum StandardOperation implements Operation {
CALL,
/**
* Call a constructor object. Call sites with this operation should have a
- * signature of (constructor, arguments...)→value, with all
+ * signature of (constructor, arguments...)→value
, with all
* parameters and return type being of any type (either primitive or
- * reference). The NEW operation is allowed to be used with a
+ * reference). The {@code NEW} operation is allowed to be used with a
* {@link NamedOperation} even though it does not take a name. Using it with
* a named operation won't affect its signature; the name is solely meant to
* be used as a diagnostic description for error messages.
diff --git a/nashorn/src/jdk.dynalink/share/classes/jdk/dynalink/linker/GuardingTypeConverterFactory.java b/nashorn/src/jdk.dynalink/share/classes/jdk/dynalink/linker/GuardingTypeConverterFactory.java
index f5db5fc3616..dda73197c91 100644
--- a/nashorn/src/jdk.dynalink/share/classes/jdk/dynalink/linker/GuardingTypeConverterFactory.java
+++ b/nashorn/src/jdk.dynalink/share/classes/jdk/dynalink/linker/GuardingTypeConverterFactory.java
@@ -108,8 +108,8 @@ public interface GuardingTypeConverterFactory {
* language's objects to Java interfaces and classes by generating adapters
* for them.
*
- * The type of the invocation is (sourceType)→targetType, while the
- * type of the guard is (sourceType)→boolean. You are allowed to
+ * The type of the invocation is (sourceType)→targetType
, while the
+ * type of the guard is (sourceType)→boolean
. You are allowed to
* return unconditional invocations (with no guard) if the source type is
* specific to your runtime and your runtime only.
*
Note that this method will never be invoked for
diff --git a/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/TreeVisitor.java b/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/TreeVisitor.java
index ea8fc0d4222..70c124d453c 100644
--- a/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/TreeVisitor.java
+++ b/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/api/tree/TreeVisitor.java
@@ -30,7 +30,7 @@ package jdk.nashorn.api.tree;
* Classes implementing this interface are used to operate
* on a tree when the kind of tree is unknown at compile time.
* When a visitor is passed to an tree's {@link Tree#accept
- * accept} method, the visitXYZ method most applicable
+ * accept} method, the visitXyz
method most applicable
* to that tree is invoked.
*
*
Classes implementing this interface may or may not throw a