Skip to content

Conversation

@artur-oracle
Copy link
Member

@artur-oracle artur-oracle commented Dec 16, 2024

These resources files are in Java classes. If converted to properties files, the localized versions can use UTF-8 encoding directly.

./src/java.base/share/classes/sun/security/tools/keytool/Resources.java
./src/java.base/share/classes/sun/security/util/Resources.java
./src/java.base/share/classes/sun/security/util/AuthResources.java
./src/jdk.jartool/share/classes/sun/security/tools/jarsigner/Resources.java


Progress

  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • Change must be properly reviewed (2 reviews required, with at least 2 Reviewers)

Issue

  • JDK-8345940: Migrate security-related resources from Java classes to properties files (Enhancement - P4)

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/22774/head:pull/22774
$ git checkout pull/22774

Update a local copy of the PR:
$ git checkout pull/22774
$ git pull https://git.openjdk.org/jdk.git pull/22774/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 22774

View PR using the GUI difftool:
$ git pr show -t 22774

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/22774.diff

Using Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Dec 16, 2024

👋 Welcome back abarashev! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk
Copy link

openjdk bot commented Dec 16, 2024

@artur-oracle 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:

8345940: Migrate security-related resources from Java classes to properties files

Reviewed-by: jlu, weijun, erikj

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 42 new commits pushed to the master branch:

  • da2b4f0: 8351606: Use build_platform for graphviz dependency
  • 030c85d: 8350106: [PPC] Avoid ticks_unknown_not_Java AsyncGetCallTrace() if JavaFrameAnchor::_last_Java_pc not set
  • 0ad9a10: 8351146: JFR: JavaMonitorInflate event should default to no threshold and be disabled
  • b957e5e: 8351322: Parameterize link option for pthreads
  • af9af7e: 8351145: RISC-V: only enable some crypto intrinsic when AvoidUnalignedAccess == false
  • 83de340: 8343789: Move mutable nmethod data out of CodeCache
  • 0de2cdd: 8351458: (ch) Move preClose to UnixDispatcher
  • cd9f1d3: 8286204: [Accessibility,macOS,VoiceOver] VoiceOver reads the spinner value 10 as 1 when user iterates to 10 for the first time on macOS
  • 4cf6316: 8351414: C2: MergeStores must happen after RangeCheck smearing
  • 8a5ed47: 8350148: Native stack overflow when writing Java heap objects into AOT cache
  • ... and 32 more: https://git.openjdk.org/jdk/compare/5cd4fe63768715ec7be32e248e05e611ea9b557d...master

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 (@justin-curtis-lu, @wangweij, @erikj79) but any other Committer may sponsor as well.

➡️ To flag this PR as ready for integration with the above commit message, type /integrate in a new comment. (Afterwards, your sponsor types /sponsor in a new comment to perform the integration).

@openjdk
Copy link

openjdk bot commented Dec 16, 2024

@artur-oracle The following label will be automatically applied to this pull request:

  • security

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.

@openjdk openjdk bot added the security security-dev@openjdk.org label Dec 16, 2024
@bridgekeeper
Copy link

bridgekeeper bot commented Feb 11, 2025

@artur-oracle This pull request has been inactive for more than 8 weeks and will be automatically closed if another 8 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

@artur-oracle
Copy link
Member Author

Work in progress, low priority.

@openjdk openjdk bot added the ready Pull request is ready to be integrated label Mar 10, 2025
@wangweij
Copy link
Contributor

Need more reviewers from build and/or i18n.
/reviewers 2 reviewer

@openjdk
Copy link

openjdk bot commented Mar 10, 2025

@wangweij
The total number of required reviews for this PR (including the jcheck configuration and the last /reviewers command) is now set to 2 (with at least 2 Reviewers).

@openjdk openjdk bot removed the ready Pull request is ready to be integrated label Mar 10, 2025
@wangweij
Copy link
Contributor

/label add build

@wangweij
Copy link
Contributor

/label add i18n

@openjdk openjdk bot added the build build-dev@openjdk.org label Mar 10, 2025
@openjdk
Copy link

openjdk bot commented Mar 10, 2025

@wangweij
The build label was successfully added.

@openjdk openjdk bot added the i18n i18n-dev@openjdk.org label Mar 10, 2025
@openjdk
Copy link

openjdk bot commented Mar 10, 2025

@wangweij
The i18n label was successfully added.

Copy link
Member

@justin-curtis-lu justin-curtis-lu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Skimmed some tricky values and the conversions looked correct to me.
Since it was tested that the values are the same before and after, this change looks good to me.

Copy link
Member

@erikj79 erikj79 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Build changes look good. Thanks for removing this special case in the build!

@openjdk openjdk bot added the ready Pull request is ready to be integrated label Mar 11, 2025
@artur-oracle
Copy link
Member Author

/integrate

@openjdk openjdk bot added the sponsor Pull request is ready to be sponsored label Mar 11, 2025
@openjdk
Copy link

openjdk bot commented Mar 11, 2025

@artur-oracle
Your change (at version 7d911bc) is now ready to be sponsored by a Committer.

@wangweij
Copy link
Contributor

/sponsor

@openjdk
Copy link

openjdk bot commented Mar 11, 2025

Going to push as commit 9a49418.
Since your change was applied there have been 44 commits pushed to the master branch:

  • e71f327: 8351045: ClassValue::remove cannot ensure computation observes up-to-date state
  • cef3693: 8351656: Problemlist gc/TestAllocHumongousFragment#generational
  • da2b4f0: 8351606: Use build_platform for graphviz dependency
  • 030c85d: 8350106: [PPC] Avoid ticks_unknown_not_Java AsyncGetCallTrace() if JavaFrameAnchor::_last_Java_pc not set
  • 0ad9a10: 8351146: JFR: JavaMonitorInflate event should default to no threshold and be disabled
  • b957e5e: 8351322: Parameterize link option for pthreads
  • af9af7e: 8351145: RISC-V: only enable some crypto intrinsic when AvoidUnalignedAccess == false
  • 83de340: 8343789: Move mutable nmethod data out of CodeCache
  • 0de2cdd: 8351458: (ch) Move preClose to UnixDispatcher
  • cd9f1d3: 8286204: [Accessibility,macOS,VoiceOver] VoiceOver reads the spinner value 10 as 1 when user iterates to 10 for the first time on macOS
  • ... and 34 more: https://git.openjdk.org/jdk/compare/5cd4fe63768715ec7be32e248e05e611ea9b557d...master

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot added the integrated Pull request has been integrated label Mar 11, 2025
@openjdk openjdk bot closed this Mar 11, 2025
@openjdk openjdk bot removed ready Pull request is ready to be integrated rfr Pull request is ready for review sponsor Pull request is ready to be sponsored labels Mar 11, 2025
@openjdk
Copy link

openjdk bot commented Mar 11, 2025

@wangweij @artur-oracle Pushed as commit 9a49418.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build build-dev@openjdk.org i18n i18n-dev@openjdk.org integrated Pull request has been integrated security security-dev@openjdk.org

Development

Successfully merging this pull request may close these issues.

4 participants