Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update BaseStorageReadChannel to be left open unless explicitly closed #1853

Merged
merged 1 commit into from
Jan 13, 2023

Conversation

BenWhitehead
Copy link
Collaborator

@BenWhitehead BenWhitehead commented Jan 13, 2023

Add two new tests to verify new expected close behavior surfaced from java-storage-nio.

Fixes the scenario where a premature java.nio.channels.ClosedChannelException could be thrown when using v2.17.0.

…closed

Add two new tests to verify new expected close behavior surfaced from java-storage-nio.
@BenWhitehead BenWhitehead requested a review from a team as a code owner January 13, 2023 03:04
@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: storage Issues related to the googleapis/java-storage API. labels Jan 13, 2023
@gcf-owl-bot gcf-owl-bot bot requested a review from a team as a code owner January 13, 2023 03:07
@BenWhitehead
Copy link
Collaborator Author

The issue this PR addresses was originally discovered in googleapis/java-storage-nio#1084 when updating to v2.17.0.

@BenWhitehead BenWhitehead added the owlbot:ignore instruct owl-bot to ignore a PR label Jan 13, 2023
@BenWhitehead BenWhitehead merged commit 1425dd9 into main Jan 13, 2023
@BenWhitehead BenWhitehead deleted the fix/read/open branch January 13, 2023 03:29
gcf-merge-on-green bot pushed a commit that referenced this pull request Jan 13, 2023
🤖 I have created a release *beep* *boop*
---


## [2.17.1](https://togithub.com/googleapis/java-storage/compare/v2.17.0...v2.17.1) (2023-01-13)


### Bug Fixes

* Update BaseStorageReadChannel to be left open unless explicitly closed ([#1853](https://togithub.com/googleapis/java-storage/issues/1853)) ([1425dd9](https://togithub.com/googleapis/java-storage/commit/1425dd97cb7d4a58f0bbededeca543f1a89c7d5d))

---
This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: storage Issues related to the googleapis/java-storage API. owlbot:ignore instruct owl-bot to ignore a PR size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants