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

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


On Sat, 13 May 2023 14:11:11 GMT, Chen Liang <liach at openjdk.org> wrote:

>> 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 three commits:
> 
>  - merge indy remap fix
>  - Merge branch 'master' into fix/hide-component-impl
>  - 8306457: Classfile API components implementations should not be exposed

I've kept the formatting by simply removing the extra indent in the beginning. However, the two implementation constructors need to be promoted to public in order to be accessible from outside of the impl package.

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

PR Comment: https://git.openjdk.org/jdk/pull/13541#issuecomment-1550132988


More information about the core-libs-dev mailing list