RFR: 8308899: Introduce Classfile.Context and improve Classfile.Option(s) [v11]

Adam Sotona asotona at openjdk.org
Thu Jun 8 16:37:22 UTC 2023


> Classfile context object and multi-state options have been discussed at https://mail.openjdk.org/pipermail/classfile-api-dev/2023-May/000321.html
> This patch implements the proposed changes in Classfile API and fixes all affected code across JDK sources and tests.
> 
> Please review.
> 
> Thanks,
> Adam

Adam Sotona has updated the pull request incrementally with two additional commits since the last revision:

 - proposed semi-synchronized caching, where the map is not locked during delegate call
 - used Factory.INSTANCE for system ClassHierarchyResolver cache

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/14180/files
  - new: https://git.openjdk.org/jdk/pull/14180/files/41fdb2fc..ae287751

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=14180&range=10
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=14180&range=09-10

  Stats: 28 lines in 2 files changed: 13 ins; 11 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/14180.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14180/head:pull/14180

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


More information about the core-libs-dev mailing list