RFR: 8343039: Remove jdk.internal.misc.InternalLock and usages from java.io [v3]

Alan Bateman alanb at openjdk.org
Wed Nov 13 19:52:57 UTC 2024


On Wed, 13 Nov 2024 19:00:36 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> Uses of `InternalLock` are removed and `synchronized` is reinstated.
>
> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8343039: Remove JavaIOPrint{Stream,Writer}Access and the use thereof

src/java.base/share/classes/java/io/PrintWriter.java line 422:

> 420:      */
> 421:     public void close() {
> 422:         Object lock = this.lock;

I assume L422 can be deleted.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22048#discussion_r1841074351


More information about the core-libs-dev mailing list