I have the same build error as lee json. I add "import static com.sun.tools.javac.parser.Tokens.Token;" code to fix this error. Who can tell me why?
package com.sun.tools.javac.parser; import com.sun.tools.javac.code.Source; import com.sun.tools.javac.parser.Tokens.Comment.CommentStyle; import com.sun.tools.javac.util.*; import java.nio.CharBuffer; import static com.sun.tools.javac.parser.Tokens.Token; import static com.sun.tools.javac.parser.Tokens.*; import static com.sun.tools.javac.util.LayoutCharacters.*; /** The lexical analyzer maps an input stream consisting of * ASCII characters and Unicode escapes into a token sequence. * * <p><b>This is NOT part of any supported API. * If you write code that depends on this, you do so at your own risk. * This code and its internal interfaces are subject to change or * deletion without notice.</b> */ public class JavaTokenizer {