7104618: MessageInfo.java is failing after lexer changes
Two langtools regression tests cannot be built due to a bad import statement Reviewed-by: jjg
This commit is contained in:
parent
7873cba6b2
commit
1469ebc6da
@ -35,7 +35,7 @@ import com.sun.tools.javac.code.*;
|
||||
import com.sun.tools.javac.file.*;
|
||||
import com.sun.tools.javac.main.Main;
|
||||
import com.sun.tools.javac.main.JavaCompiler;
|
||||
import com.sun.tools.javac.parser.Token;
|
||||
import com.sun.tools.javac.parser.Tokens.TokenKind;
|
||||
import com.sun.tools.javac.util.*;
|
||||
import com.sun.tools.javac.util.AbstractDiagnosticFormatter.SimpleConfiguration;
|
||||
import javax.lang.model.SourceVersion;
|
||||
@ -319,7 +319,7 @@ class ArgTypeCompilerFactory implements Example.Compiler.Factory {
|
||||
return "modifier";
|
||||
if (o instanceof KindName)
|
||||
return "symbol kind";
|
||||
if (o instanceof Token)
|
||||
if (o instanceof TokenKind)
|
||||
return "token";
|
||||
if (o instanceof Symbol)
|
||||
return "symbol";
|
||||
|
Loading…
Reference in New Issue
Block a user