Update Google 3 Android Desugar Library `desugar_jdk_libs` to use Java 11 Build
Use the target with `javacopts = ["-source 11", "-target 11"]` as the basis for the Desugar library.
@@ -557,7 +557,10 @@ class CoreLibrarySupport {
/** Checks whether the given class is (likely) generated by desugar itself. */
private static boolean looksGenerated(String owner) {
- return owner.contains("$$Lambda$") || owner.endsWith("$$CC") || owner.endsWith("$$Dispatch");
+ return owner.contains("$$Lambda$")
+ || owner.endsWith("$$CC")
+ || owner.endsWith("$NestCC")
+ || owner.endsWith("$$Dispatch");
}
@AutoValue
