On Fri, 5 Jul 2024 19:27:27 GMT, Chen Liang <li...@openjdk.org> wrote:
> Please review this patch that address the reflection member filtering flaws. > > 1. Remove a pointless bootstrap check to ensure no filter is accidentally > bypassed due to class-loading order. > 2. Clarify the scenarios for filtering, and the correct filter actions for > each scenario. > 3. Remove the filter in `sun.misc.Unsafe`; users are already using other ways > to steal this instance, bypassing the filtered getter. The > `jdk.internal.misc.Unsafe`'s filter was already removed in JDK-8161129, so > this filter is meaningless. This pull request has been closed without being integrated. ------------- PR: https://git.openjdk.org/jdk/pull/20058