-
Notifications
You must be signed in to change notification settings - Fork 160
8235834: IBM-943 charset encoder needs updating #476
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
8235834: IBM-943 charset encoder needs updating #476
Conversation
Signed-off-by: Pratiksha.Sawant <Pratiksha.Sawant@ibm.com>
Hi @psawant19, welcome to this OpenJDK project and thanks for contributing! We do not recognize you as Contributor and need to ensure you have signed the Oracle Contributor Agreement (OCA). If you have not signed the OCA, please follow the instructions. Please fill in your GitHub username in the "Username" field of the application. Once you have signed the OCA, please let us know by writing If you already are an OpenJDK Author, Committer or Reviewer, please click here to open a new issue so that we can record that fact. Please use "Add GitHub user psawant19" as summary for the issue. If you are contributing this work on behalf of your employer and your employer has signed the OCA, please let us know by writing |
This contribution is on behalf of my employer, IBM, which is a corporate OCA signatory. |
/covered |
@psawant19 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 no new commits pushed to the As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@jerboaa) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
Thank you! Please allow for a few business days to verify that your employer has signed the OCA. Also, please note that pull requests that are pending an OCA check will not usually be evaluated, so your patience is appreciated! |
/covered |
Already processed the |
/covered |
Already processed the |
Closing this PR as my OCA verification is taking too long to approve. |
/covered |
You are already a known contributor! |
Backporting JDK-8235834 - IBM-943 charset encoder needs updating. Reported issue : https://bugs.openjdk.org/browse/JDK-8235834. |
This backport pull request has now been updated with issue and summary from the original commit. |
Webrevs
|
@gnu-andrew, @mrserb Could you please review this PR. |
Hi @psawant19 , |
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.
The test fails:
/disk/openjdk/upstream-sources/git/jdk8u-dev/jdk/test/sun/nio/cs/TestIBMBugs.java:223: error: cannot find symbol
if (!Arrays.equals(byteIBM943c2b, strIBM943c2b1.getBytes(cs))) {
^
symbol: variable Arrays
location: class TestIBMBugs
1 error
result: Failed. Compilation failed: Compilation failed
Adding the import should fix it.
Also, please enable GHA for your fork and show some evidence on what testing you've done for this. Thanks!
@jerboaa, Attaching test evidences for the bug fix with before and after screenshots. |
@psawant19 Thanks. Please also show that the |
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.
This looks OK.
Please merge lastest master into your branch, which should make the certinga CA tests failure go away. |
|
@jerboaa,
Is the PR good to go for maintainer approval? |
Yes, use |
/approval request This back port is required to display Japanese locale which uses IBM943 charset. The fix is tested in a linux environment and the test case passes as mentioned in the screenshot above. |
@psawant19 |
The follow-up, JDK-8239965, needs backporting too. Please do that so that I can approve them as a unit. |
This is the PR (#500) created for backporting JDK-8239965. |
/integrate |
@psawant19 |
|
/sponsor |
@jerboaa @psawant19 Pushed as commit ab408de. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Backporting JDK-8235834 - IBM-943 charset encoder needs updating.
There are few characters which display garbled values when using IBM943C, so this mapping file needs to be backported to fix the issue.
Reported issue : https://bugs.openjdk.org/browse/JDK-8235834
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk8u-dev.git pull/476/head:pull/476
$ git checkout pull/476
Update a local copy of the PR:
$ git checkout pull/476
$ git pull https://git.openjdk.org/jdk8u-dev.git pull/476/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 476
View PR using the GUI difftool:
$ git pr show -t 476
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk8u-dev/pull/476.diff
Webrev
Link to Webrev Comment