-
Notifications
You must be signed in to change notification settings - Fork 5.8k
8345343: Hide java.lang.classfile.components package to implementation #22503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
👋 Welcome back liach! A progress list of the required criteria for merging this PR into |
❗ This change is not yet ready to be integrated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see a clear reason for this drastic last-minute change.
There is no real justification for this change and I suggest to close it. |
After offline discussion, we decide to stick to continued preview status to facilitate adoption. #22501 |
After further studies, due to JEP process restrictions, hiding is the only choice at this point. Reopening. |
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.
Progress
Issues
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/22503/head:pull/22503
$ git checkout pull/22503
Update a local copy of the PR:
$ git checkout pull/22503
$ git pull https://git.openjdk.org/jdk.git pull/22503/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 22503
View PR using the GUI difftool:
$ git pr show -t 22503
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/22503.diff
Using Webrev
Link to Webrev Comment