Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-5804

Remove JavaCC bad option warning

Details

    • Improvement
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • None
    • Not applicable
    • dsl-sql
    • None

    Description

      After the downgrade to JavaCC 4.0 [1], JavaCC compiler issues a warning

      {no format}

      $ ./gradlew -p sdks/java/extensions/sql cleanCompileJavacc compileJavacc 

      > Task :beam-sdks-java-extensions-sql:compileJavacc

      Java Compiler Compiler Version 4.0 (Parser Generator)

      (type "javacc" with no arguments for help)

      Warning: Bad option "-grammar_encoding=UTF-8" will be ignored.
      {no format}

      This is simply due to the fact, that this option does not yet exist in JavaCC 4.0 [2]

       

      So we probably should just remove this option.

      [1] https://issues.apache.org/jira/browse/BEAM-4233

      [2] https://github.com/javacc/javacc/blob/368da68784dca6b29dcf10043f056535b2c835a1/src/org/javacc/parser/Options.java#L93-L117

      Attachments

        Issue Links

          Activity

            People

              michel Michael Luckey
              michel Michael Luckey
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h