8278744: KeyStore:getAttributes() not returning unmodifiable Set#23
8278744: KeyStore:getAttributes() not returning unmodifiable Set#23wangweij wants to merge 1 commit intoopenjdk:masterfrom wangweij:8278744
Conversation
8278744: KeyStore:getAttributes() not returning unmodifiable Set
|
👋 Welcome back weijun! A progress list of the required criteria for merging this PR into |
|
@wangweij 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 no new commits pushed to the ➡️ To integrate this PR with the above commit message to the |
|
/integrate |
|
Going to push as commit 0cc989b. |
Make the return value of
PKCS12KeyStore::engineGetAttributesimmutable. Gather thegetAttributes()value into a newHashSetand then make it immutable. This ensures the final result itself is not mutable and it also will not change even if the internalentry.attributesis modified.Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk18 pull/23/head:pull/23$ git checkout pull/23Update a local copy of the PR:
$ git checkout pull/23$ git pull https://git.openjdk.java.net/jdk18 pull/23/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 23View PR using the GUI difftool:
$ git pr show -t 23Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk18/pull/23.diff