Withdrawn: 8261400: Reflection member filtering registration might be flawed

Chen Liang liach at openjdk.org
Tue Aug 13 19:46:58 UTC 2024


On Fri, 5 Jul 2024 19:27:27 GMT, Chen Liang <liach at 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


More information about the core-libs-dev mailing list