commit | 9a3b621736a71b9f6b1ed6510310a96befeeec8d | [log] [tgz] |
---|---|---|
author | jhorvitz <jhorvitz@google.com> | Fri May 07 10:16:38 2021 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Fri May 07 10:17:33 2021 -0700 |
tree | 6c12e2fae8b64f95fc5511acf0974002f04ee115 | |
parent | 9cc4833a8150fcad9cd779f2b239bf335e4d6ee7 [diff] |
Allow extending `RecordingBugReporter`. PiperOrigin-RevId: 372579909
diff --git a/src/test/java/com/google/devtools/build/lib/buildtool/util/BuildIntegrationTestCase.java b/src/test/java/com/google/devtools/build/lib/buildtool/util/BuildIntegrationTestCase.java index dea2b7e..5173510 100644 --- a/src/test/java/com/google/devtools/build/lib/buildtool/util/BuildIntegrationTestCase.java +++ b/src/test/java/com/google/devtools/build/lib/buildtool/util/BuildIntegrationTestCase.java
@@ -859,7 +859,7 @@ } /** {@link BugReporter} that stores bug reports for later inspection. */ - protected static final class RecordingBugReporter implements BugReporter { + protected static class RecordingBugReporter implements BugReporter { @GuardedBy("this") private final List<Throwable> exceptions = new ArrayList<>();