Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8345343

Hide java.lang.classfile.components package to implementation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • 24
    • 24
    • core-libs
    • None

      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 the links for the relevant discussion history.

            liach Chen Liang
            liach Chen Liang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: