RFR: 8370688: java.util.jar.JarEntry.getCodeSigners() and getCertificates() should specify that they return a copy of the arrays [v6]

Koushik Muthukrishnan Thirupattur duke at openjdk.org
Thu Jan 22 21:54:35 UTC 2026


> 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.

Koushik Muthukrishnan Thirupattur has updated the pull request incrementally with one additional commit since the last revision:

  8370688: Updated the documentation to describe the behavior using @implSpec

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/28615/files
  - new: https://git.openjdk.org/jdk/pull/28615/files/548af3e6..753154a3

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=28615&range=05
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=28615&range=04-05

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 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


More information about the security-dev mailing list