mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-18 14:25:33 +00:00
8020946: TokenType#toString returned null
Reviewed-by: hannesw, lagergren
This commit is contained in:
parent
25bbe574dc
commit
06e6e351d4
@ -284,7 +284,7 @@ public enum TokenType {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return name;
|
||||
return getNameOrType();
|
||||
}
|
||||
|
||||
static {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user