Fix IndexOutOfBoundsException when using ANTLR with Java 8 (fixes #337)
Merge pull request #424 from sharwell/fix-337

Fix IndexOutOfBoundsException when using ANTLR with Java 8 (fixes #337)