-
Notifications
You must be signed in to change notification settings - Fork 6.1k
8297271: AccessFlag.maskToAccessFlags should be specific to class file version #24760
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
…af-location-accessors
…af-location-accessors
👋 Welcome back liach! A progress list of the required criteria for merging this PR into |
@liach 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 6 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. ➡️ To integrate this PR with the above commit message to the |
With this, the Class‑File API needs to be updated to pass the current class file format version to the calls of |
That is tracked in a separate bug linked as a dependent on this issue. |
@liach this pull request can not be integrated into git checkout feature/af-cffv-parse
git fetch https://git.openjdk.org/jdk.git pr/23095
git merge FETCH_HEAD
# resolve conflicts and follow the instructions given by git merge
git commit -m "Merge pr/23095"
git push |
…af-location-accessors
…af-location-accessors
The parent pull request that this pull request depends on has now been integrated and the target branch of this pull request has been updated. This means that changes from the dependent pull request can start to show up as belonging to this pull request, which may be confusing for reviewers. To remedy this situation, simply merge the latest changes from the new target branch into this pull request by running commands similar to these in the local repository for your personal fork: git checkout feature/af-cffv-parse
git fetch https://git.openjdk.org/jdk.git master
git merge FETCH_HEAD
# if there are conflicts, follow the instructions given by git merge
git commit -m "Merge master"
git push |
|
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.
lgtm
The parent pull request that this pull request depends on has now been integrated and the target branch of this pull request has been updated. This means that changes from the dependent pull request can start to show up as belonging to this pull request, which may be confusing for reviewers. To remedy this situation, simply merge the latest changes from the new target branch into this pull request by running commands similar to these in the local repository for your personal fork: git checkout feature/af-cffv-parse
git fetch https://git.openjdk.org/jdk.git master
git merge FETCH_HEAD
# if there are conflicts, follow the instructions given by git merge
git commit -m "Merge master"
git push |
Did a trivial merge and reran the sanity tests for javap and AccessFlag. |
Thanks for the reviews! /integrate |
Going to push as commit bee273d.
Your commit was automatically rebased without conflicts. |
Take the class file version to reject flags not yet defined, redefined, or obsoleted. This is useful for clients like javap to report the correct undefined flags for different class file versions.
A preparatory patch for javap to pass around the ClassFileFormatVersion to parse flags is available at #24955.
Progress
Issues
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/24760/head:pull/24760
$ git checkout pull/24760
Update a local copy of the PR:
$ git checkout pull/24760
$ git pull https://git.openjdk.org/jdk.git pull/24760/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 24760
View PR using the GUI difftool:
$ git pr show -t 24760
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/24760.diff
Using Webrev
Link to Webrev Comment