Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use private antlr module for compatibility with Hibernate
Avoids `java.lang.ClassCastException: antlr.CommonToken cannot be cast to
antlr.Token`. Alternatively, we could use
`-DANTLR_USE_DIRECT_CLASS_LOADING=true` or repackage antlr under a different
package name, but by the time the private module becomes a problem, we can
probably delete MigrateSeamTextToCommonMark.
  • Loading branch information
seanf committed Jun 2, 2017
1 parent 037027c commit 5cb686d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions server/zanata-war/pom.xml
Expand Up @@ -981,6 +981,7 @@
<dependency>
<groupId>antlr</groupId>
<artifactId>antlr</artifactId>
<scope>provided</scope>
</dependency>

<dependency>
Expand Down
Expand Up @@ -12,6 +12,8 @@
<!-- end of unsupported modules -->

<!-- start of private modules -->
<!-- Needed by MigrateSeamTextToCommonMark -->
<module name="org.antlr" />
<!-- end of private modules -->

<!-- start of deprecated modules -->
Expand Down

0 comments on commit 5cb686d

Please sign in to comment.