Skip to content

Commit

Permalink
6 new compiler test errors on Java 17 builds since I20241203-1800 (#3405
Browse files Browse the repository at this point in the history
)

Fixes #3393
  • Loading branch information
stephan-herrmann authored Dec 5, 2024
1 parent 452a5de commit 7a31ab7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1739,7 +1739,7 @@ public <T extends Closeable> T register(@Owning
@Override
public void close() throws IOException {
for (Closeable closeable : toClose.reversed()) {
for (Closeable closeable : toClose) {
closeable.close(); // Ignore error handling for this demonstration
}
}
Expand Down Expand Up @@ -1789,7 +1789,7 @@ public <T extends Closeable> T register(@Owning
@Override
public void close() throws IOException {
for (Closeable closeable : toClose.reversed()) {
for (Closeable closeable : toClose) {
closeable.close(); // Ignore error handling for this demonstration
}
}
Expand Down

0 comments on commit 7a31ab7

Please sign in to comment.