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

Brian Burkhalter bpb at openjdk.org
Thu Nov 14 19:16:34 UTC 2024


> Uses of `InternalLock` are removed and `synchronized` is reinstated.

Brian Burkhalter has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains nine additional commits since the last revision:

 - Merge
 - 8343039: Change "resizble" comment in BOS
 - 8343039: Remove failing getDeclaredField call from test java/lang/ProcessBuilder/Basic.java
 - 8343039: Remove java.base/jdk.internal.misc from @modules in test java/lang/ProcessBuilder/Basic.java
 - 8343039: Remove InternalLock reference from java/lang/ProcessBuilder/Basic.java
 - 8343039: Address reviewer comments
 - 8343039: Remove JavaIOPrint{Stream,Writer}Access and the use thereof
 - 8343039: Remove use of InternalLock from Stream{De,En}coder and throwable; remove InternalLock class; address comments on BIS and BOS
 - 8343039: Remove jdk.internal.misc.InternalLock and usages from java.io

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/22048/files
  - new: https://git.openjdk.org/jdk/pull/22048/files/15bf969a..1ed0043d

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=22048&range=08
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=22048&range=07-08

  Stats: 86500 lines in 2307 files changed: 11355 ins; 68476 del; 6669 mod
  Patch: https://git.openjdk.org/jdk/pull/22048.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22048/head:pull/22048

PR: https://git.openjdk.org/jdk/pull/22048


More information about the core-libs-dev mailing list