Skip to content

Commit

Permalink
8257799: Update JLS cross-references in java.compiler
Browse files Browse the repository at this point in the history
Reviewed-by: jjg
  • Loading branch information
jddarcy committed Dec 7, 2020
1 parent a5297bd commit 6937d9f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Expand Up @@ -392,7 +392,7 @@ public static boolean isName(CharSequence name, SourceVersion version) {
* literal, or null literal, {@code false} otherwise.
* @jls 3.9 Keywords
* @jls 3.10.3 Boolean Literals
* @jls 3.10.7 The Null Literal
* @jls 3.10.8 The Null Literal
*/
public static boolean isKeyword(CharSequence s) {
return isKeyword(s, latest());
Expand All @@ -410,7 +410,7 @@ public static boolean isKeyword(CharSequence s) {
* literal, or null literal, {@code false} otherwise.
* @jls 3.9 Keywords
* @jls 3.10.3 Boolean Literals
* @jls 3.10.7 The Null Literal
* @jls 3.10.8 The Null Literal
* @since 9
*/
public static boolean isKeyword(CharSequence s, SourceVersion version) {
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2005, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2005, 2020, 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
Expand Down Expand Up @@ -73,7 +73,7 @@ public interface VariableElement extends Element {
* otherwise
*
* @see Elements#getConstantExpression(Object)
* @jls 15.28 Constant Expression
* @jls 15.29 Constant Expressions
* @jls 4.12.4 final Variables
*/
Object getConstantValue();
Expand Down

1 comment on commit 6937d9f

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.