[ 
https://issues.apache.org/jira/browse/BEAM-6025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16732501#comment-16732501
 ] 

Kenneth Knowles commented on BEAM-6025:
---------------------------------------

The generated code for the parser has a tremendous amount of nested blocks. In 
turn, Javac's recursive descent parser does what recursive descent parsers do 
best - overflow. Both of these are not feasible to change, so the only solution 
is to crank up the limits, which I did in 
https://github.com/apache/beam/pull/7099.

> beam-sdks-java-extensions-sql failed to compile due to a StackOverflowError
> ---------------------------------------------------------------------------
>
>                 Key: BEAM-6025
>                 URL: https://issues.apache.org/jira/browse/BEAM-6025
>             Project: Beam
>          Issue Type: Bug
>          Components: dsl-sql
>            Reporter: Chamikara Jayalath
>            Assignee: Kenneth Knowles
>            Priority: Major
>
> [https://builds.apache.org/job/beam_PostCommit_Java_GradleBuild/1845/]
>  
> [https://scans.gradle.com/s/knhj55jfcjoxe/console-log?task=:beam-sdks-java-extensions-sql:compileTestJava#L3]
>  
> java.lang.StackOverflowError
>  at com.sun.tools.javac.parser.UnicodeReader.putChar(UnicodeReader.java:135)
>  at com.sun.tools.javac.parser.UnicodeReader.putChar(UnicodeReader.java:143)
>  at com.sun.tools.javac.parser.JavaTokenizer.scanIdent(JavaTokenizer.java:353)
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to