Withdrawn: 8334772: Change Class::protectionDomain and signers to explicit fields
Chen Liang
liach at openjdk.org
Wed Jul 17 18:45:38 UTC 2024
On Wed, 17 Jul 2024 17:47:11 GMT, Chen Liang <liach at openjdk.org> wrote:
> Please review this change that moves `Class.protectionDomain` and `signers` to explicit fields.
>
> Related native methods in `Class` and `AccessController::getProtectionDomain` are converted to pure Java. These fields are still set and used by hotspot. Also fixes the incorrect `protectiondomain_signature` in `vmSymbols`, which is actually an array descriptor.
>
> Note that these new fields are not filtered: filtering in early bootstrap requires other unrelated adjustments as we can't even use hashCode on String, and filtering is not proper encapsulation either.
This pull request has been closed without being integrated.
-------------
PR: https://git.openjdk.org/jdk/pull/20221
More information about the core-libs-dev
mailing list