RFR: 8345343: Hide java.lang.classfile.components package to implementation

Chen Liang liach at openjdk.org
Tue Dec 3 23:55:40 UTC 2024


On Mon, 2 Dec 2024 23:55:00 GMT, Chen Liang <liach at openjdk.org> wrote:

> The java.lang.classfile.components package was underused and had almost no usage feedback; as a result, it did not caught attention during the preview process of the Class-File API, until the late adoption when Class-File API is sure to become finalized. In the previous rounds of reviews by other engineers, most of the review efforts were devoted to other core modeling and API classes, and components was largely omitted; a few questions were asked, but no solution were proposed and the questions were forgotten.
> 
> To compensate in such a short time to the stabilization of JDK 24, we propose to temporarily move this package to jdk.internal instead. This allows us to better consider the role of this package and its members. We considered to continue previewing this package or making it an incubator module, but this is currently not possible as JEP 484 does not provide for any preview API or incubator module - to add such provisions, the JEP must be re-drafted and go through the draft to target process, and now is too late for that.
> 
> See https://mail.openjdk.org/pipermail/classfile-api-dev/2024-November/000611.html for initial problem discovery and https://mail.openjdk.org/pipermail/classfile-api-dev/2024-December/000613.html for revision proposal.
> 
> Testing: tier 1-3.

After further studies, due to JEP process restrictions, hiding is the only choice at this point. Reopening.

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

PR Comment: https://git.openjdk.org/jdk/pull/22503#issuecomment-2515822844


More information about the build-dev mailing list