Vlad Rozov created SPARK-53753:
----------------------------------

             Summary: Shade antlr4-runtime.jar
                 Key: SPARK-53753
                 URL: https://issues.apache.org/jira/browse/SPARK-53753
             Project: Spark
          Issue Type: Improvement
          Components: Build
    Affects Versions: 4.1.0
            Reporter: Vlad Rozov


antlr4-runtime library 4.10+ is not semver compatible with 4.9: "{_}Mixing 
ANTLR 4.9.3 and 4.10 can lead to errors that point to a version mismatch. A 
very common Java error looks like this:{_} {{{}Caused by: 
java.io.InvalidClassException: org.antlr.v4.runtime.atn.ATN; Could not 
deserialize ATN with version 3 (expected 4).{}}}" By shading Spark dependency 
the conflict will be avoided.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to