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
8285745: Re-examine PushbackInputStream mark/reset #8433
Conversation
Please see also #8309. |
|
Looks fine to me.
Given that mark()
currently is a no-op and reset()
throws an exception, the synchronized
wouldn't be doing anything when it comes to calls on an exact instance of PushbackInputStream
.
Calls on subclasses of PushbackInputStream
which did support mark/reset, would be overriding this method already and handling any synchronization themselves.
@bplb This change now passes all automated pre-integration checks. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 60 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.
|
/integrate |
Going to push as commit 9d8c3bf.
Your commit was automatically rebased without conflicts. |
Please review this request to remove the
synchronized
keyword from themark(int)
andreset()
methods ofjava.io.PushbackInputStream
.Progress
Issues
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk pull/8433/head:pull/8433
$ git checkout pull/8433
Update a local copy of the PR:
$ git checkout pull/8433
$ git pull https://git.openjdk.java.net/jdk pull/8433/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 8433
View PR using the GUI difftool:
$ git pr show -t 8433
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk/pull/8433.diff