RFR: 8306457: Classfile API components implementations should not be exposed [v3]

Chen Liang liach at openjdk.org
Tue May 16 18:10:08 UTC 2023


> The jdk.internal.classfile.components package's interfaces have implementations in their nested classes, which are implicitly public and exported with the package. They are now moved to the impl package to avoid unwanted exposures. Fixed a few minor javadoc issues in the interfaces as well.
> 
> In conflict with #13021; one needs updating if the other is merged.

Chen Liang has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains five commits:

 - Don't change formatting in the migration
   
   The changes are done by copying old implementation and removing one level (4 spaces) of indent.
   The constructors of CodeLocalsShifterImpl and CodeStackTrackerImpl are promoted to public
 - Merge branch 'master' into fix/hide-component-impl
 - merge indy remap fix
 - Merge branch 'master' into fix/hide-component-impl
 - 8306457: Classfile API components implementations should not be exposed

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

Changes: https://git.openjdk.org/jdk/pull/13541/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13541&range=02
  Stats: 1815 lines in 8 files changed: 963 ins; 826 del; 26 mod
  Patch: https://git.openjdk.org/jdk/pull/13541.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13541/head:pull/13541

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


More information about the core-libs-dev mailing list