From 20ef2eaf6b637e285a2f8d0be54c43b945919baa Mon Sep 17 00:00:00 2001 From: Googler Date: Mon, 1 Feb 2021 23:18:04 -0800 Subject: [PATCH] Update R8 to version 3.0.17-dev PiperOrigin-RevId: 355103313 --- .../devtools/build/android/r8/desugar/DesugarInfoCollector.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/com/google/devtools/build/android/r8/desugar/DesugarInfoCollector.java b/src/test/java/com/google/devtools/build/android/r8/desugar/DesugarInfoCollector.java index d60fabbb6b5631..bd672ee4fc4694 100644 --- a/src/test/java/com/google/devtools/build/android/r8/desugar/DesugarInfoCollector.java +++ b/src/test/java/com/google/devtools/build/android/r8/desugar/DesugarInfoCollector.java @@ -74,7 +74,7 @@ public void visit( super.visit(version, access, name, signature, superName, interfaces); assertThat(computeMinorClassFileVersion(version)).isEqualTo(0); largestClassFileVersion = Math.max(version, largestClassFileVersion); - if (classNameFromBinaryName(name).startsWith("-$$Lambda$")) { + if (classNameFromBinaryName(name).contains("-$$ExternalSyntheticLambda")) { numberOfDesugaredLambdas++; } if (name.endsWith("$-CC")) {