diff --git a/core/src/main/java/com/google/errorprone/bugpatterns/threadsafety/WellKnownMutability.java b/core/src/main/java/com/google/errorprone/bugpatterns/threadsafety/WellKnownMutability.java index a0e461df7d2..8488c4ea95b 100644 --- a/core/src/main/java/com/google/errorprone/bugpatterns/threadsafety/WellKnownMutability.java +++ b/core/src/main/java/com/google/errorprone/bugpatterns/threadsafety/WellKnownMutability.java @@ -176,6 +176,7 @@ private static ImmutableMap buildImmutableClasses( .add("android.net.Uri") .add("android.util.Size") .add("java.awt.Color") + .add("java.lang.invoke.MethodHandle") .add("java.util.AbstractMap$SimpleImmutableEntry", "K", "V") .add("java.util.Optional", "T") .add("java.util.OptionalDouble")