-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
8323058: Revisit j.l.classfile.CodeBuilder API surface #17282
Conversation
👋 Welcome back asotona! A progress list of the required criteria for merging this PR into |
…mensionalArray and operator methods
@asotona this pull request can not be integrated into git checkout JDK-8323058-CodeBuilder
git fetch https://git.openjdk.org/jdk.git master
git merge FETCH_HEAD
# resolve conflicts and follow the instructions given by git merge
git commit -m "Merge master"
git push |
# Conflicts: # src/java.base/share/classes/java/lang/runtime/SwitchBootstraps.java # src/jdk.jlink/share/classes/jdk/tools/jlink/internal/plugins/SystemModulesPlugin.java
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.
JFR part (EventInstrumentation.java) looks good.
src/java.base/share/classes/java/lang/classfile/CodeBuilder.java
Outdated
Show resolved
Hide resolved
@asotona This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
Looking at 8326836 #18030, we might need |
Thanks for pointing it out, I've added them. |
@asotona This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 1 new commit pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the ➡️ To integrate this PR with the above commit message to the |
@asotona This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
# Conflicts: # src/java.base/share/classes/java/lang/runtime/SwitchBootstraps.java # test/jdk/jdk/classfile/helpers/RebuildingTransformation.java
/integrate |
Going to push as commit ae82405.
Your commit was automatically rebased without conflicts. |
java.lang.classfile.CodeBuilder
contains more than 230 API methods.Existing ClassFile API use cases proved the concept one big CodeBuilder is comfortable. However there are some redundancies, glitches in the naming conventions, some frequently used methods are hard to find and some methods have low practical use.
This patch revisits the
CodeBuilder
API methods and introduces some changes.For more details, please, visit the CSR
Please review.
Thank you,
Adam
Progress
Issues
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/17282/head:pull/17282
$ git checkout pull/17282
Update a local copy of the PR:
$ git checkout pull/17282
$ git pull https://git.openjdk.org/jdk.git pull/17282/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 17282
View PR using the GUI difftool:
$ git pr show -t 17282
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/17282.diff
Webrev
Link to Webrev Comment