question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Regenerate ANTLR code using version 4.8 or later

See original GitHub issue

I am running pact tests in the context of a Quarkus service and about 1 year ago Quarkus upgraded from ANTLR 4.7.2 to ANTLR 4.8 (meanwhile ANTLR 4.9.2 is available). Now when running my tests I see a warning like this logged:

ANTLR Tool version 4.7.2 used for code generation does not match the current runtime version 4.8ANTLR Runtime version 4.7.2 used for parser compilation does not match the current runtime version 4.8ANTLR Tool version 4.7.2 used for code generation does not match the current runtime version 4.8ANTLR Runtime version 4.7.2 used for parser compilation does not match the current runtime version 4.8

Since ANTLR 4.7.2 is already more than two years old I think it would be nice to upgrade to a newer version.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
uglyogcommented, Jun 24, 2021

I’ve checked the release notes, and there are no changes for Java so I’ve upgraded to 4.9.2

0reactions
knutwannhedencommented, Jun 28, 2021

I have verified that this now works. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

ANTLR4 grammar syntax support - Visual Studio Marketplace
Language support for ANTLR4 grammar files. Installation. Launch VS Code Quick Open ( Ctrl+P ), paste the following command, and press enter.
Read more >
Getting Started With ANTLR in C# - Strumenta
Setup. The first step is to install ANTLR grammar syntax support extension for Visual Studio Code. This will allow to easily integrate ANTLR...
Read more >
Running methods generated by AntLR 4 grammar
The original project used AntLR3 to generate the Java source code and I am using ANTLR 4 plugin to generate the source code....
Read more >
Install and Configure ANTLR 4 for Ubuntu and MacOS X
ANTLR to generate C++ code, then after reading this tutorial, ... In particular, install the latest version of Eclipse (currently 2019-12).
Read more >
ANTLR maximum recursion depth exceeded error when ...
</code>. ANTLR VERSION = 4.8. Does anyone know why this is occurring or any advice/fixes for the problem? I am using Python bindings...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found