# 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: - *