-
Couldn't load subscription status.
- Fork 6.1k
8363925: Remove unused sun.nio.cs.ArrayEncoder::encode #27999
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
base: master
Are you sure you want to change the base?
Conversation
|
👋 Welcome back vyazici! A progress list of the required criteria for merging this PR into |
|
@vy This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. 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 25 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. ➡️ To integrate this PR with the above commit message to the |
Webrevs
|
Co-authored-by: Roger Riggs <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I recommend further refactors, at least turn the 3 default methods to abstract methods. After removal of ineffective CESU_8, we can make the default methods abstract to improve safety.
Down the road, we can remove the -1 handling at use site, and also pass in dp explicitly (I recall this being useful for optimizing Writer/OutputStream)
|
@vy Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information. |
|
@vy |
|
@liach, thanks so much for the review! 🙇
All done in 7fc5267.
Skimmed through Please let me know if there are any changes I can carry out within the scope of this JBS/PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this great cleanup. Looks much more maintainable and straightforward. We can re-implement for CESU_8 if there is request later.
JDK-6636319 introduced
ArrayEncoder, composed of onlyencodemethod. Later on JDK-8054307 (JEP 254: Compact Strings) removed all its usages. This method can safely be removed, hence this PR. Confirmed thattier1-2tests are clear on several platforms after changes.Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/27999/head:pull/27999$ git checkout pull/27999Update a local copy of the PR:
$ git checkout pull/27999$ git pull https://git.openjdk.org/jdk.git pull/27999/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 27999View PR using the GUI difftool:
$ git pr show -t 27999Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/27999.diff
Using Webrev
Link to Webrev Comment