Skip to content
Permalink
Browse files
8257799: Update JLS cross-references in java.compiler
Reviewed-by: jjg
  • Loading branch information
jddarcy committed Dec 7, 2020
1 parent a5297bd commit 6937d9f9ddb0a8b6dfeebbeb67e33e454ff10b7b
Showing 2 changed files with 4 additions and 4 deletions.
@@ -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());
@@ -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) {
@@ -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
@@ -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();

1 comment on commit 6937d9f

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 6937d9f Dec 7, 2020

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.