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

Added missed IOException to Reader.read(char[] buf) and Reader.read(c… #9933

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

treblereel
Copy link
Contributor

…har[] buf, int off, int len) methods

Fixes #9915

@niloc132
Copy link
Contributor

niloc132 commented Mar 5, 2024

To land this, we're going to need to mark these as technically API-breaking changes in 2.12 - it is possible that someone was relying on them not throwing these exceptions and so was skipping the try/catch.

First though we need to generate a 2.11 reference jar, so we can see what changes might happen, I'll get that fixed soon.

@treblereel
Copy link
Contributor Author

@niloc132 It's not worth it! Let's close this PR,

@niloc132
Copy link
Contributor

niloc132 commented Mar 6, 2024

No, that work should happen anyway, I'll get it done by the end of the week.

@niloc132 niloc132 added this to the 2.12 milestone May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

java.io.Reader.read(char[] buf/char[] buf, int off, int len) must throw IOException
2 participants