On Wed, 17 Jul 2024 19:47:44 GMT, Chen Liang <li...@openjdk.org> wrote:

> `Class` has 2 VM-injected fields that can be made explicit: `Object[] 
> signers` and `ProtectionDomain protectionDomain`. We make the signers field 
> explicit. (The ProtectionDomain can be revisited when SecurityManager is 
> removed, as SecurityManager is accessing it via JNI as well.)
> 
> Migrate the JNI code to Java. The getter previously had a redundant primitive 
> type check, which is dropped in the migrated Java code. The `Object[] 
> getSigners` is no longer `native`, thus requiring a CSR record. Reviewers 
> please help review the associated CSR.

This pull request has now been integrated.

Changeset: 39f44768
Author:    Chen Liang <li...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/39f44768131254ee11f723f92e2bac57b0d1ade0
Stats:     72 lines in 6 files changed: 6 ins; 53 del; 13 mod

8334772: Change Class::signers to an explicit field

Reviewed-by: dholmes, alanb, rriggs, coleenp

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

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

Reply via email to