1From 12f69f5bb0e10f608b1899bab67b1813e0fdaf14 Mon Sep 17 00:00:00 2001 2From: Andreas Gampe <agampe@google.com> 3Date: Tue, 20 Feb 2018 09:51:42 -0800 4Subject: [PATCH] Antlr: Fix infinite recursion 5 6Bug: 73645371 7Test: m javac-check RUN_ERROR_PRONE=true 8Change-Id: Ie8702ad59aab1af7e23038fbffd5bd34902f1f7c 9--- 10 11Index: antlr/runtime/Java/src/main/java/org/antlr/runtime/debug/DebugTreeAdaptor.java 12=================================================================== 13--- antlr.orig/runtime/Java/src/main/java/org/antlr/runtime/debug/DebugTreeAdaptor.java 14+++ antlr/runtime/Java/src/main/java/org/antlr/runtime/debug/DebugTreeAdaptor.java 15@@ -227,7 +227,7 @@ public class DebugTreeAdaptor implements 16 17 @Override 18 public Object deleteChild(Object t, int i) { 19- return deleteChild(t, i); 20+ return adaptor.deleteChild(t, i); 21 } 22 23 @Override 24 25