Building open jdk 8 from source fails

David Holmes david.holmes at oracle.com
Thu Nov 26 03:34:47 UTC 2015


Sorry not enough information.

Which forest did you try to build?

What platform?

What was the error?

What boot JDK did you use?

...

Regards,
David

On 26/11/2015 12:21 PM, Sunbo (Bb) wrote:
> 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 {
>



More information about the build-dev mailing list