diff --git a/retrofit/src/main/java/retrofit2/Platform.java b/retrofit/src/main/java/retrofit2/Platform.java index ca48e0dd0f..936658970a 100644 --- a/retrofit/src/main/java/retrofit2/Platform.java +++ b/retrofit/src/main/java/retrofit2/Platform.java @@ -209,7 +209,7 @@ public boolean isDefaultMethod(Method method) { /** * Java 14 allows a regular lookup to succeed for invoking default methods. * - *
https://bugs.openjdk.java.net/browse/JDK-8209005 + *
JDK-8209005 */ @IgnoreJRERequirement // Only used on JVM and Java 14. @SuppressWarnings("NewApi") // Not used for Android. @@ -254,7 +254,6 @@ static boolean isSupported() { private @Nullable Method invokeDefaultMethod; - @SuppressWarnings("JavaReflectionMemberAccess") // Only available on Java 16, as we expect. @Nullable @Override public Object invokeDefaultMethod(