Skip to content

Commit

Permalink
In ClosingFuture, remove a workaround for [JDK-7101822](https://bug…
Browse files Browse the repository at this point in the history
…s.openjdk.java.net/browse/JDK-7101822)(?) now that we [build with a JDK after JDK 8](#6549). This follows up on cl/332225001 and cl/643394004.

RELNOTES=n/a
PiperOrigin-RevId: 706845781
  • Loading branch information
cpovirk authored and Google Java Core Libraries committed Dec 16, 2024
1 parent 617fd28 commit e25ee0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1223,9 +1223,7 @@ private Peeker(ImmutableList<ClosingFuture<?>> futures) {
* .closing(executor);
* }</pre>
*/
// TODO(cpovirk): Use simple name instead of fully qualified after we stop building with JDK 8.
@com.google.errorprone.annotations.DoNotMock(
"Use ClosingFuture.whenAllSucceed() or .whenAllComplete() instead.")
@DoNotMock("Use ClosingFuture.whenAllSucceed() or .whenAllComplete() instead.")
public static class Combiner {

private final CloseableList closeables = new CloseableList();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1228,9 +1228,7 @@ private Peeker(ImmutableList<ClosingFuture<?>> futures) {
* .closing(executor);
* }</pre>
*/
// TODO(cpovirk): Use simple name instead of fully qualified after we stop building with JDK 8.
@com.google.errorprone.annotations.DoNotMock(
"Use ClosingFuture.whenAllSucceed() or .whenAllComplete() instead.")
@DoNotMock("Use ClosingFuture.whenAllSucceed() or .whenAllComplete() instead.")
public static class Combiner {

private final CloseableList closeables = new CloseableList();
Expand Down

0 comments on commit e25ee0c

Please sign in to comment.