> Changed `getEncoded` for both EC and RSA to return a copy of the internal key > array to avoid mutability issues.
Ben Perez has updated the pull request incrementally with two additional commits since the last revision: - Removed unnecessary imports - Removed unnecessary module in test. Catch null in getEncoded ------------- Changes: - all: https://git.openjdk.org/jdk/pull/14425/files - new: https://git.openjdk.org/jdk/pull/14425/files/04b2a9d1..eb5b5948 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=14425&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=14425&range=01-02 Stats: 5 lines in 2 files changed: 1 ins; 0 del; 4 mod Patch: https://git.openjdk.org/jdk/pull/14425.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/14425/head:pull/14425 PR: https://git.openjdk.org/jdk/pull/14425