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

duke duke at openjdk.org
Fri Jan 30 22:30:45 UTC 2026


On Thu, 22 Jan 2026 21:54:35 GMT, Koushik Muthukrishnan Thirupattur <duke at openjdk.org> wrote:

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

@koushikthirupattur 
Your change (at version 753154a393ee8c168d7552bae13a8a79f5ff67cc) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk/pull/28615#issuecomment-3826096708


More information about the security-dev mailing list