Integrated: 8370688: java.util.jar.JarEntry.getCodeSigners() and getCertificates() should specify that they return a copy of the arrays
Koushik Muthukrishnan Thirupattur
duke at openjdk.org
Tue Feb 3 19:12:43 UTC 2026
On Tue, 2 Dec 2025 20:28:50 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.
This pull request has now been integrated.
Changeset: 58d2edb9
Author: Koushik Thirupattur <koushik.thirupattur at oracle.com>
Committer: Sean Mullan <mullan at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/58d2edb9fc1bb68363e697b43be04c493ead81c5
Stats: 9 lines in 1 file changed: 4 ins; 0 del; 5 mod
8370688: java.util.jar.JarEntry.getCodeSigners() and getCertificates() should specify that they return a copy of the arrays
Reviewed-by: jpai, mullan, liach
-------------
PR: https://git.openjdk.org/jdk/pull/28615
More information about the security-dev
mailing list