8072604: Improve handling of direct use of accept with TreePathScanner

Reviewed-by: ksrini
1 file changed