Tong created GEODE-5444:
---------------------------

             Summary: oql.g setting antlr string conversion names globally
                 Key: GEODE-5444
                 URL: https://issues.apache.org/jira/browse/GEODE-5444
             Project: Geode
          Issue Type: Wish
          Components: core
            Reporter: Tong


[https://github.com/apache/geode/blob/develop/geode-core/src/main/antlr/org/apache/geode/cache/query/internal/parse/oql.g#L48]

This line does 
{code:java}
antlr.BaseAST.setVerboseStringConversion(true, OQLParser._tokenNames);{code}
statically, which means if any other code in the same JVM uses antlr and set 
the token names, the result would be overridden by gemfire. 

Can this become something like 
{code:java}
String[] unioned = union(antlr.BaseAST.getTokenNames(), OQLParser._tokenNames)
antlr.BaseAST.setVerboseStringConversion(true, unioned);

{code}
 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to