[ 
https://issues.apache.org/jira/browse/CASSANDRA-17885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17603143#comment-17603143
 ] 

Brandon Williams commented on CASSANDRA-17885:
----------------------------------------------

2.0 won't compile under java 8:

{code}
     [java] error(10):  internal error: Can't get property indirectDelegates 
using method get/isIndirectDelegates from org.antlr.tool.Grammar instance : 
java.lang.NullPointerException
     [java] java.util.Objects.requireNonNull(Objects.java:203)
     [java] java.util.ArrayList.removeAll(ArrayList.java:693)
     [java] 
org.antlr.tool.CompositeGrammar.getIndirectDelegates(CompositeGrammar.java:222)
     [java] org.antlr.tool.Grammar.getIndirectDelegates(Grammar.java:2620)
     [java] sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java] 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
     [java] 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     [java] java.lang.reflect.Method.invoke(Method.java:498)
{code}

It looks like we need to upgrade antlr for that to work :(

> Backport CASSANDRA-17581 to older branches for tests
> ----------------------------------------------------
>
>                 Key: CASSANDRA-17885
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17885
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tool/nodetool
>            Reporter: Brandon Williams
>            Assignee: Brandon Williams
>            Priority: Normal
>             Fix For: 2.1.x, 2.2.x, 2.0.x
>
>
> Some of our tests use old branches for the purposes of testing upgrades and 
> behavior in mixed versions, but those lacking CASSANDRA-17581 will fail on 
> nodetool with a modern JDK.  We can port this fix to those branches and 
> adjust the tests to use the newest version of them to solve this going 
> forward.



--
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