-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump antlr4 from 4.9.3 to 4.11.1 #4546
Conversation
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Ah, bad news, the Apache Lucene still uses some Antlr 3.x bits (serialized ATN, see here [1] please), but the compatibility with Antlr 3.x was removed [2] recently. As such, Apache Lucene is not compatible with Antlr 4.10+ :( [1] https://github.com/apache/lucene/blob/main/lucene/expressions/src/java/org/apache/lucene/expressions/js/JavascriptLexer.java#L189 |
Gradle Check (Jenkins) Run Completed with:
|
Getting there :) apache/lucene#11788 is merged, 🤞 it will be backported to 9.5 |
Signed-off-by: Andriy Redko <[email protected]>
@@ -1,5 +1,5 @@ | |||
opensearch = 3.0.0 | |||
lucene = 9.5.0-snapshot-d5cef1c | |||
lucene = 9.5.0-snapshot-6700b7e |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The latest snapshots are needed to bring apache/lucene#12016 in
Gradle Check (Jenkins) Run Completed with:
|
Codecov Report
@@ Coverage Diff @@
## main #4546 +/- ##
============================================
- Coverage 70.95% 70.91% -0.05%
+ Complexity 58304 58296 -8
============================================
Files 4733 4733
Lines 278256 278256
Branches 40249 40249
============================================
- Hits 197441 197319 -122
- Misses 64628 64771 +143
+ Partials 16187 16166 -21
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
I know this is merged, but it seems to be causing fatal errors on the darwin-arm64-tar builds when running on m1 macs.
When I checkout the commit prior |
I have difficulties understanding how this specific change impacts |
I don't understand it either. I've been trying to work through the changes and I don't see the relevance.
Yes. I'm using |
Workaround is to work with Java 11. If I build with Java 17 I get the above error, but not with Java 11. Something is missing in java 17 on arm64. The intel Mac seem to compile and build fine. |
Ah ... this is very interesting, I sadly don't have M1 at my disposal but I will try to troubleshoot the issue on first occasion. What JDK distribution you use on M1? |
I'm using If I found out more information, I'll let you know. |
Signed-off-by: Andriy Redko [email protected]
Description
Manually bumping
antlr4
version and regenerate parsersIssues Resolved
Closes #4412 and #4412
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.