Fix cts-v1 build breakage.

We're still using javac for CollectAllTests and javac complains
about referencing a variable that isn't effectively final from a
lambda expression. Jack erroneously doesn't complain (b/27605155).

bug: 27426688
Change-Id: I96581185c124c237f84910e633b652544d48a6c0
1 file changed