RFR: 8261400: Reflection member filtering registration might be flawed
Alan Bateman
alanb at openjdk.org
Tue Jul 16 13:32:50 UTC 2024
On Fri, 5 Jul 2024 19:27:27 GMT, Chen Liang <liach at openjdk.org> wrote:
> 3. Remove the filter in `sun.misc.Unsafe`; users are already using other ways to steal this instance, bypassing the filtered getter.
JEP 471 has the roadmap for sun.misc.Unsafe, which is to wind it down over time. Relaxing the filter to allow Unsafe::getUnsafe be called may send the wrong message so I don't think it should be changed by this PR.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20058#issuecomment-2230898187
More information about the core-libs-dev
mailing list