RFR: 8327786: Add fluent setAccessible()

Lei Zaakjyu duke at openjdk.org
Mon Mar 11 23:05:22 UTC 2024


On Thu, 25 Jan 2024 21:35:45 GMT, Sergey <duke at openjdk.org> wrote:

> The feature allows to extract a private field value in a single expression, like so:
> 
> object.getClass().getDeclaredField().setAccessible().get(object)

https://openjdk.org/contribute/
u may firstly have a look at this.

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

PR Comment: https://git.openjdk.org/jdk/pull/17578#issuecomment-1913439047


More information about the core-libs-dev mailing list