On Thu, 25 Jan 2024 21:35:45 GMT, Sergey <d...@openjdk.org> wrote: > The feature allows to extract a private field value in a single expression, > like so: > > object.getClass().getDeclaredField().setAccessible().get(object)
src/java.base/share/classes/java/lang/reflect/Field.java line 184: > 182: * @throws InaccessibleObjectException {@inheritDoc} > 183: * @throws SecurityException {@inheritDoc} > 184: */ Inherits from what? ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/17578#discussion_r1520897359