The implementation of JarEntry.getCodeSigners() and getCertificates() both 
return a copy of the original array. However, the documentation of these 2 
methods currently doesn't specify this.

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

Commit messages:
 - 8370688: Addressed review comments
 - 8370688: java.util.jar.JarEntry.getCodeSigners() and getCertificates() 
should specify that they return a copy of the arrays

Changes: https://git.openjdk.org/jdk/pull/28615/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28615&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8370688
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/28615.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28615/head:pull/28615

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

Reply via email to