[External] : Re: New candidate JEP: 471: Deprecate the Memory-Access Methods in sun.misc.Unsafe for Removal

Alan Bateman Alan.Bateman at oracle.com
Thu Jun 13 14:00:38 UTC 2024


On 13/06/2024 14:22, David Lloyd wrote:
> :
>
> I've updated with a few commits today which solve (I think) the access 
> control issue, moves constant descriptors to constants in a holder 
> class, moves the bootstrap to `ConstantBootstraps`, just says "no" to 
> caching, and cleans up a few other minor issues. I guess I'll go ahead 
> and update JDK-8333796 to reference this new strategy and start 
> preparing to put up a PR, unless someone raises an objection to the 
> final approach taken here.
>
Just to set expectations on a possible PR, this is not a change that can 
be rushed in. It's controversial to extend this backdoor and may make it 
hard for this backdoor to be removed in the future.  I think we will 
also need to get the security/vulnerability folks to go over this.

-Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/core-libs-dev/attachments/20240613/ec02a1c6/attachment-0001.htm>


More information about the core-libs-dev mailing list