-
Notifications
You must be signed in to change notification settings - Fork 234
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
8299254: Support dealing with standard assert macro #2937
Conversation
👋 Welcome back vieiro! A progress list of the required criteria for merging this PR into |
@vieiro This change now passes all automated pre-integration checks. 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 As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@jerboaa) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
This backport pull request has now been updated with issue from the original commit. |
Webrevs
|
5974a92
to
c7a6fe0
Compare
@vieiro Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information. |
The parent pull request that this pull request depends on has been closed without being integrated and the target branch of this pull request has been updated as the previous branch was deleted. This means that changes from the parent pull request will start to show up in this pull request. If closing the parent pull request was done in error, it will need to be re-opened and this pull request will need to manually be retargeted again. |
Rebased on top of #2940 |
c7a6fe0
to
96c74af
Compare
@vieiro Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information. |
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 backports/JDK-8299254-macos12
git fetch https://git.openjdk.org/jdk11u-dev.git master
git merge FETCH_HEAD
# if there are conflicts, follow the instructions given by git merge
git commit -m "Merge master"
git push |
@vieiro Please merge latest master into this PR. Thanks! |
…/JDK-8299254-macos12
Done! We have green lights in GHA. |
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.
It would be helpful to explain what the differences of the patch to, say the JDK 17u backport was. As far as I can tell these are:
- Omitted hunk in test/hotspot/gtest/gc/shenandoah/test_shenandoahNumberSeq.cpp since the test isn't in JDK 11u
- You didn't remove the
gtest/gtest.h
related hunk as was done for the 17u version. Why?
What testing have you done? Did you run gtests to verify they still work?
test/hotspot/gtest/gc/shared/test_memset_with_concurrent_readers.cpp
Outdated
Show resolved
Hide resolved
Thanks for the review! |
Adding gtest to GHA is easy and does not take too much time to run. Here're results for macos-12, linux and windows |
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.
Looks OK to me. Thanks!
|
/approval request Avoid clashing with the standard assert macro so that macos builds and tests can proceed in GHA. |
Thank you for the review! |
Lets get this minimal fix in to have appropriate GHA testing on MacOS-X x86_64 for 11u. /approve yes |
@jerboaa |
|
/integrate |
/sponsor |
Going to push as commit 06d87ca.
Your commit was automatically rebased without conflicts. |
Backport of JDK-8299254 Support dealing with standard assert macro on top of the previous PR
macos-12
github actions .This will make the github actions in
jdk11u-dev
run again on top ofmacos-12
/xcode-13.4.1
.The change is minimal, and should work properly with no changes on any existing
macos-11
CI pipelines.Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk11u-dev.git pull/2937/head:pull/2937
$ git checkout pull/2937
Update a local copy of the PR:
$ git checkout pull/2937
$ git pull https://git.openjdk.org/jdk11u-dev.git pull/2937/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 2937
View PR using the GUI difftool:
$ git pr show -t 2937
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk11u-dev/pull/2937.diff
Webrev
Link to Webrev Comment