RFR: 8331189: Implementation of Scoped Values (Third Preview) [v2]

Alan Bateman alanb at openjdk.org
Wed May 29 15:35:41 UTC 2024


> JEP 481 proposes Scoped Values to continue to preview in JDK 23 with one change. The type of the operation parameter of the callWhere method is changed to a new functional interface to avoid having the API throw Exception. With that change, the getWhere (and the corresponding method on Carrier) are no longer needed. The functional interface is not proposed for j.u.function at this time.

Alan Bateman 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 seven additional commits since the last revision:

 - Merge
 - Merge
 - Merge
 - Set JEP number
 - Sync up from loom repo
 - Merge
 - Initial commit

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/19136/files
  - new: https://git.openjdk.org/jdk/pull/19136/files/744e8665..b2166e66

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=19136&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=19136&range=00-01

  Stats: 25898 lines in 731 files changed: 16263 ins; 5627 del; 4008 mod
  Patch: https://git.openjdk.org/jdk/pull/19136.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19136/head:pull/19136

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


More information about the core-libs-dev mailing list