On Thu, 11 May 2023 10:15:49 GMT, Daniel Fuchs <dfu...@openjdk.org> wrote:
> Ah - I see that PrintStream lock can be accessed through SharedSecrets I think Alan was talking about the protected Object lock on `java.io.Reader` and `java.io.Writer` classes which can be manipulated by their sub-classes and that's what prompted the creation of the new type, - `InternalLock` class. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/13832#discussion_r1190963255