-
Notifications
You must be signed in to change notification settings - Fork 155
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
8253702: BigSur version number reported as 10.16, should be 11.nn #125
Conversation
👋 Welcome back omikhaltcova! A progress list of the required criteria for merging this PR into |
This backport pull request has now been updated with issue from the original commit. |
/issue add JDK-8269850 |
@omikhaltsova |
Webrevs
|
Why is this handling two backports with a single patch? You can do dependent prs if you wish, but please keep the patches separate. Thanks! |
Thanks for taking a look! It seemed to me a good idea to backport these 2 small patches together because they fix the similar bugs, locate in the same place and it'll be easy to review them also together. Anyway I will separate them if it's better. |
af41f61
to
637821e
Compare
/issue remove JDK-8269850 |
@omikhaltsova |
@omikhaltsova Please do not rebase or force-push to an active PR as it invalidates existing review comments. All changes will be squashed into a single commit automatically when integrating. See OpenJDK Developers’ Guide for more information. |
Path changes only, marking as clean. |
/clean |
@jerboaa This backport pull request is now marked as clean |
@omikhaltsova 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 4 new commits 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. ➡️ To flag this PR as ready for integration with the above commit message, type |
/integrate |
@omikhaltsova |
/sponsor |
Going to push as commit 05b249d.
Your commit was automatically rebased without conflicts. |
@yan-too @omikhaltsova Pushed as commit 05b249d. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
I'd like to backport JDK-8253702 to jdk8u in order to fix the incorrect version detection for macOS.
The patch applied manually due to the location difference:
src/java.base/macosx/native/libjava/java_props_macosx.c
(source)jdk/src/solaris/native/java/lang/java_props_macosx.c
(destination)But it's small and low risk. The changes are related only to one function
void setOSNameAndVersion(..)
within the single file. The patch is identical to the original one.Tested with a simple test printing the OS version on macOS Big Sur:
Progress
Issue
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk8u-dev pull/125/head:pull/125
$ git checkout pull/125
Update a local copy of the PR:
$ git checkout pull/125
$ git pull https://git.openjdk.org/jdk8u-dev pull/125/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 125
View PR using the GUI difftool:
$ git pr show -t 125
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk8u-dev/pull/125.diff