Skip to content

Commit

Permalink
Tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
rickie committed Sep 29, 2022
1 parent e27f947 commit 790638e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ private static boolean isBuiltWithErrorProneFork() {
/* initialize= */ false,
Thread.currentThread().getContextClassLoader());
} catch (ClassNotFoundException e) {
return false;
throw new IllegalStateException("Can't load `ErrorProneOptions` class", e);
}
return Arrays.stream(clazz.getDeclaredMethods())
.filter(m -> Modifier.isPublic(m.getModifiers()))
Expand Down

0 comments on commit 790638e

Please sign in to comment.