RFR: 8334394: Race condition in Class::protectionDomain [v2]

Alan Bateman alanb at openjdk.org
Mon Jun 17 17:46:13 UTC 2024


On Mon, 17 Jun 2024 15:24:27 GMT, Weijun Wang <weijun at openjdk.org> wrote:

>> Make sure `pd` is always the same object when `getProtectionDomain0` is null.
>
> Weijun Wang has updated the pull request incrementally with one additional commit since the last revision:
> 
>   explain why the test is related to the fix

The update to Class looks okay. At some point I think we see if the protection domain field can be changed to be an explicit field (not injected) so that the native method and JVM_GetProtectionDomain can be removed.

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

PR Comment: https://git.openjdk.org/jdk/pull/19752#issuecomment-2173980108


More information about the core-libs-dev mailing list