RFR: 8370688: java.util.jar.JarEntry.getCodeSigners() and getCertificates() should specify that they return a copy of the arrays [v6]
Jaikiran Pai
jpai at openjdk.org
Sun Feb 1 11:40:05 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
Hello Koushik, although the changes are trivial and doc-only I'll let Sean sponsor this. In the meantime, please run a `make docs-image` with this change, if you haven't already. That should catch any unforeseen issues with the updated javadoc.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28615#issuecomment-3830924862
More information about the core-libs-dev
mailing list