# HG changeset patch
# User jjg
# Date 1493170524 25200
# Node ID fff0714129d8b63972e0838c129ec315c2f5590d
# Parent 13f457e05af0cf1c58e370b2f5d1a5c80af4cf55
8179299: Fix HTML 5 errors in java.compiler module
8179300: Fix HTML 5 errors in jdk.compiler module
8179301: Fix HTML 5 errors in jdk.javadoc module
8179303: Fix HTML 5 errors in jdk.jshell module
Reviewed-by: darcy
diff -r 13f457e05af0 -r fff0714129d8 src/java.compiler/share/classes/javax/lang/model/element/ModuleElement.java
--- a/src/java.compiler/share/classes/javax/lang/model/element/ModuleElement.java Tue Apr 25 16:14:35 2017 -0700
+++ b/src/java.compiler/share/classes/javax/lang/model/element/ModuleElement.java Tue Apr 25 18:35:24 2017 -0700
@@ -154,7 +154,7 @@
* pattern. Classes implementing this interface are used to operate
* on a directive when the kind of directive is unknown at compile time.
* When a visitor is passed to a directive's {@link Directive#accept
- * accept} method, the visitXyz method applicable
+ * accept} method, the visitXyz
method applicable
* to that directive is invoked.
*
*
Classes implementing this interface may or may not throw a diff -r 13f457e05af0 -r fff0714129d8 src/java.compiler/share/classes/javax/tools/JavaFileManager.java --- a/src/java.compiler/share/classes/javax/tools/JavaFileManager.java Tue Apr 25 16:14:35 2017 -0700 +++ b/src/java.compiler/share/classes/javax/tools/JavaFileManager.java Tue Apr 25 18:35:24 2017 -0700 @@ -70,7 +70,7 @@ * java.io.File#getCanonicalFile} or similar means. If the system is * not case-aware, file objects must use other means to preserve case. * - *
Relative names: some + *
Relative names: some
* methods in this interface use relative names. A relative name is a
* non-null, non-empty sequence of path segments separated by '/'.
* '.' or '..' are invalid path segments. A valid relative name must
diff -r 13f457e05af0 -r fff0714129d8 src/jdk.compiler/share/classes/com/sun/source/doctree/DocTreeVisitor.java
--- a/src/jdk.compiler/share/classes/com/sun/source/doctree/DocTreeVisitor.java Tue Apr 25 16:14:35 2017 -0700
+++ b/src/jdk.compiler/share/classes/com/sun/source/doctree/DocTreeVisitor.java Tue Apr 25 18:35:24 2017 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011, 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
@@ -31,7 +31,7 @@
* 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 DocTree#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 diff -r 13f457e05af0 -r fff0714129d8 src/jdk.compiler/share/classes/com/sun/source/tree/LambdaExpressionTree.java --- a/src/jdk.compiler/share/classes/com/sun/source/tree/LambdaExpressionTree.java Tue Apr 25 16:14:35 2017 -0700 +++ b/src/jdk.compiler/share/classes/com/sun/source/tree/LambdaExpressionTree.java Tue Apr 25 18:35:24 2017 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 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 @@ -41,7 +41,7 @@ /** * Lambda expressions come in two forms: - *
visitXyz
method most applicable
* to that tree is invoked.
*
* Classes implementing this interface may or may not throw a diff -r 13f457e05af0 -r fff0714129d8 src/jdk.javadoc/share/classes/com/sun/javadoc/FieldDoc.java --- a/src/jdk.javadoc/share/classes/com/sun/javadoc/FieldDoc.java Tue Apr 25 16:14:35 2017 -0700 +++ b/src/jdk.javadoc/share/classes/com/sun/javadoc/FieldDoc.java Tue Apr 25 18:35:24 2017 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 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 @@ -65,7 +65,7 @@ /** * Return the serialField tags in this FieldDoc item. * - * @return an array of SerialFieldTag objects containing + * @return an array of {@code SerialFieldTag} objects containing * all {@code @serialField} tags. */ SerialFieldTag[] serialFieldTags(); diff -r 13f457e05af0 -r fff0714129d8 src/jdk.javadoc/share/classes/com/sun/javadoc/MethodDoc.java --- a/src/jdk.javadoc/share/classes/com/sun/javadoc/MethodDoc.java Tue Apr 25 16:14:35 2017 -0700 +++ b/src/jdk.javadoc/share/classes/com/sun/javadoc/MethodDoc.java Tue Apr 25 18:35:24 2017 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 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 @@ -102,7 +102,7 @@ * also said to implement the other. * * @param meth the other method to examine - * @return true if this method overrides the other + * @return {@code true} if this method overrides the other * @since 1.5 */ boolean overrides(MethodDoc meth); diff -r 13f457e05af0 -r fff0714129d8 src/jdk.javadoc/share/classes/com/sun/javadoc/Tag.java --- a/src/jdk.javadoc/share/classes/com/sun/javadoc/Tag.java Tue Apr 25 16:14:35 2017 -0700 +++ b/src/jdk.javadoc/share/classes/com/sun/javadoc/Tag.java Tue Apr 25 18:35:24 2017 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 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 @@ -78,7 +78,8 @@ * the following table lists those cases where there is more * than one tag of a given kind: * - *
{@code kind() } | {@code name() } | |||
---|---|---|---|---|
{@code @throws } | {@code @throws } | |||
{@code @throws } | {@code @exception } | |||
{@code -private} | private | private | all | all |
- * + * * A qualified element name is one that has its package * name prepended to it, such as {@code java.lang.String}. A non-qualified * name has no package name, such as {@code String}. *
Many of the types in the old {@code com.sun.javadoc} API do not have equivalents in this * package. Instead, types in the {@code javax.lang.model} and {@code com.sun.source} APIs diff -r 13f457e05af0 -r fff0714129d8 src/jdk.jshell/share/classes/jdk/jshell/execution/JdiExecutionControlProvider.java --- a/src/jdk.jshell/share/classes/jdk/jshell/execution/JdiExecutionControlProvider.java Tue Apr 25 16:14:35 2017 -0700 +++ b/src/jdk.jshell/share/classes/jdk/jshell/execution/JdiExecutionControlProvider.java Tue Apr 25 18:35:24 2017 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2016, 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 @@ -90,7 +90,8 @@ * {@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 |
---|