Fix: Don't leak resources when use {} is used with a non-local return. We introduced this
performance and stability bug by not considering that non-local returns execute neither the
return nor catch control flows.
Fix: Use a sealed interface for BufferedSink and BufferedSource. These were never intended
for end-users to implement, and we're happy that Kotlin now allows us to express that in our API.
New: Change internal locks from synchronized to ReentrantLock and Condition. We expect this
to improve help when using Okio with Java virtual threads ([Project Loom][loom]).
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps okio from 3.2.0 to 3.3.0.
Changelog
Sourced from okio's changelog.
Commits
2e48951
Prepare for release 3.3.0.bc7e735
Ensure close is called in all use cases (#1190)f8434f5
Loom support. (#1176)4b4b1fd
Merge pull request #1183 from square/renovate/androidx.testceb9b3a
Update dependency androidx.test:runner to v1.5.2ba7a989
Upgrade to Kotlin 1.8.0 (#1184)885ab1d
Merge pull request #1186 from square/JakeWharton-patch-1dec743b
Turn off semantic commits explicitly in Renovateae07130
Attempt to make filesystem tests less flaky (#1181)8e559fd
Don't do CI builds for obsolete JDKs (#1185)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)