-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
8285097: Duplicate XML keys in XPATHErrorResources.java and XSLTErrorResources.java #8318
Conversation
…rrorResources.java
Hi @shruacha1234, 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 shruacha1234" 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 |
@shruacha1234 The following label will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command. |
@shruacha1234, a few notes specific to openJDK PRs:
|
This contribution is on behalf of my employer, IBM, which is a corporate OCA signatory. |
|
Webrevs
|
src/java.xml/share/classes/com/sun/org/apache/xpath/internal/res/XPATHErrorResources.java
Show resolved
Hide resolved
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.
Looks good.
@shruacha1234 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 383 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. 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 (@JoeWang-Java) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
|
@shruacha1234 Please don't integrate without addressing the comments left in my review. There are several files that still use the old key incorrectly. |
It also looks like you have not run the pre-tests yet. Please enable them in GitHub Actions and confirm that they pass. |
Note that I've run the tests locally. The default test configuration is tier1, which isn't really helpful in this case excepting heating up the planet. If you plan to do more on java.xml, you may run tier2 to verify your changes. |
…ErrorResources language files
src/java.xml/share/classes/com/sun/org/apache/xpath/internal/res/XPATHErrorResources.java
Show resolved
Hide resolved
LGTM. Nicely done @shruacha1234 |
Changing resource bundles is not required as the L10n resource files update would cover that. As you've modified the files, you'll need to update the license header, using XPATHErrorResources_ja.java as an example and update the year and LastModified tag. |
ef9d444
to
b1dcd44
Compare
After the last update, the years in the copyright header and LastModified tag do not match. For example, the header for XPATHErrorResources_de.java starts like: Copyright (c) 2019, 2021, where 2021 needs to be updated to 2022. When I mentioned using XPATHErrorResources_ja.java as an example, I meant replacing "reserved comment block" with the copyright header and then update the copyright year. Sorry if I wasn't clear enough. But basically using that as a template for the format of the header, and keep the year updated to the current. Thanks. |
src/java.xml/share/classes/com/sun/org/apache/xpath/internal/res/XPATHErrorResources_es.java
Outdated
Show resolved
Hide resolved
Copyright years for XRTreeFragSelectWrapper.java and XSLTErrorResources.java were still not updated, with the later missing the LastModified tag. Please double check all files before integrate. |
283f8ef
to
bcad12e
Compare
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.
They all look good now. Thanks.
@JoeWang-Java |
Did you mean the failure (Pre-submit tests - Linux x86 - Test (tier1) ) above? That's not related to your change. |
@JoeWang-Java Yes. |
Yes, please go ahead with integrate. |
|
I think you missed slash, it's slash integrate. |
|
/sponsor |
@JoeWang-Java The change author (@shruacha1234) must issue an |
There may be sth. with your input, it's not recognized as Git command. Try again, or copy this command instead. |
Do not enclose the skara command within backquotes. |
Thanks Naoto! I didn't realize that's what he did :-) |
/integrate |
@shruacha1234 |
@JoeWang-Java I have issued the integrate command. Now it is ready to be sponsored. Please do the needful |
/sponsor |
Going to push as commit b5a3d28.
Your commit was automatically rebased without conflicts. |
@JoeWang-Java @shruacha1234 Pushed as commit b5a3d28. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Removing the Duplicate keys present in XSLTErrorResources.java and XPATHErrorResources.java
The bug report for the same: https://bugs.openjdk.java.net/browse/JDK-8285097
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk pull/8318/head:pull/8318
$ git checkout pull/8318
Update a local copy of the PR:
$ git checkout pull/8318
$ git pull https://git.openjdk.java.net/jdk pull/8318/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 8318
View PR using the GUI difftool:
$ git pr show -t 8318
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk/pull/8318.diff