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

Adam Sotona asotona at openjdk.org
Mon Jun 5 18:59:07 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 with a new target base due to a merge or a rebase. The pull request now contains 27 commits:

 - Merge branch 'master' into JDK-8308899-context
   
   # Conflicts:
   #	src/java.base/share/classes/jdk/internal/classfile/Classfile.java
   #	src/java.base/share/classes/jdk/internal/classfile/impl/DirectCodeBuilder.java
   #	test/jdk/jdk/classfile/DiscontinuedInstructionsTest.java
   #	test/jdk/jdk/classfile/FilterDeadLabelsTest.java
   #	test/jdk/jdk/classfile/ShortJumpsFixTest.java
   #	test/jdk/jdk/classfile/StackMapsTest.java
 - added missing javadoc
 - simplified options names
 - fixed copyright header
 - Merge branch 'master' into JDK-8308899-context
 - fixed StackMapGenerator::generatorError and removed obsolete SplitConstantPool clone constructor
 - Merge branch 'master' into JDK-8308899-context
 - fixed benchmarks
 - fixed snippets and added SnippetsTest
 - fixed javadoc
 - ... and 17 more: https://git.openjdk.org/jdk/compare/4b8922f5...0c3c1913

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

Changes: https://git.openjdk.org/jdk/pull/14180/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14180&range=06
  Stats: 1603 lines in 106 files changed: 491 ins; 212 del; 900 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