Skip to content

Commit

Permalink
Work around another javac bug in InvalidLink
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 391833917
  • Loading branch information
amalloy authored and Error Prone Team committed Aug 19, 2021
1 parent 7b03871 commit b6e5831
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public Void visitLink(LinkTree linkTree, Void unused) {
element =
JavacTrees.instance(state.context)
.getElement(new DocTreePath(getCurrentPath(), linkTree.getReference()));
} catch (NullPointerException e) {
} catch (NullPointerException | AssertionError e) {
// TODO(b/176098078): remove once JDK 12 is the minimum supported version
// https://bugs.openjdk.java.net/browse/JDK-8200432
} finally {
Expand Down

0 comments on commit b6e5831

Please sign in to comment.