This fix converted shell test to java code. Following are the updates done to 
the original shell test logic:

- Test is updated to be a manual test as it is rather difficult/impossible to 
have it run in virtualized environment where we can't update the security 
keychain search list to include created keychain.
- Test is updated to save earlier keychain search order and restore when test 
ends.
- Test is now using legacy encryption and MAC algorithms, refer macOS open 
radar FB8988319, as macOS security framework doesn't work with the latest 
algorithms. Algorithms were updated with JDK-8153005.

-------------

Commit messages:
 - 8156889: ListKeychainStore.sh fails in some virtualized environments

Changes: https://git.openjdk.org/jdk/pull/14424/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14424&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8156889
  Stats: 449 lines in 4 files changed: 202 ins; 247 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/14424.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14424/head:pull/14424

PR: https://git.openjdk.org/jdk/pull/14424

Reply via email to