8269984: [macos] JTabbedPane title looks like disabled #269
Conversation
Fixed the version string parsing to work correctly on macOS 11.x and beyond
👋 Welcome back kizune! A progress list of the required criteria for merging this PR into |
@azuev-java The following label will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command. |
Webrevs
|
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 good. I also tested it on macOS 11.5 and verified that the test case fails (is rendered incorrectly) without your fix and passes with your fix.
@prsadhuk Can you review this? |
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.
Since existing currentMacOSXVersionMatchesGivenVersionRange() is changed, did you test in osx 10.15 or below to see current functionality is ok?
ALso, please add noreg-demo to JBS since I guess SwingSet2 is used to test.
@@ -39,40 +39,55 @@ | |||
static boolean isBigSurOrAbove = isMacOSXBigSurOrAbove(); |
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.
This is not required..Need to be removed.
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.
This is not required..Need to be removed.
Done.
I have tested the public methods of this class with simulated version strings for previous macOS releases - they return correct assumptions about them. I haven't tested the code that acquires the version string but i haven't changed that.
Done. |
@azuev-java 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 30 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 |
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.
Updated fix looks good.
ALso, please add noreg-demo to JBS since I guess SwingSet2 is used to test.
Done.
That's not what noreg-demo
means (that label means that the change itself is limited to a demo).
/integrate |
Going to push as commit 8adf008.
Your commit was automatically rebased without conflicts. |
@azuev-java Pushed as commit 8adf008. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Fixed the version string parsing to work correctly on macOS 11.x and beyond
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk17 pull/269/head:pull/269
$ git checkout pull/269
Update a local copy of the PR:
$ git checkout pull/269
$ git pull https://git.openjdk.java.net/jdk17 pull/269/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 269
View PR using the GUI difftool:
$ git pr show -t 269
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk17/pull/269.diff