Skip to content
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

8289606: CustomSecurityManagerTest fails on Mac M1 #826

Conversation

andy-goryachev-oracle
Copy link
Contributor

@andy-goryachev-oracle andy-goryachev-oracle commented Jul 13, 2022

  • sampling at 1/3 of screen height instead of the very top to avoid hitting OS UI found on the newer Macs with a notch
  • change applies to all platforms

Progress

  • Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue

Issue

  • JDK-8289606: CustomSecurityManagerTest fails on Mac M1

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jfx pull/826/head:pull/826
$ git checkout pull/826

Update a local copy of the PR:
$ git checkout pull/826
$ git pull https://git.openjdk.org/jfx pull/826/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 826

View PR using the GUI difftool:
$ git pr show -t 826

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jfx/pull/826.diff

@bridgekeeper
Copy link

bridgekeeper bot commented Jul 13, 2022

👋 Welcome back andy-goryachev-oracle! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk openjdk bot added the rfr Ready for review label Jul 13, 2022
@mlbridge
Copy link

mlbridge bot commented Jul 13, 2022

Webrevs

Copy link
Member

@kevinrushforth kevinrushforth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given what this test is trying to test, the proposed fix seems fine. I confirm that this test fails on my Mac M1 without the fix and passes with the fix.

One thing I just spotted is that this test makes the same mistake as `MouseLocationOnScreenTest -- see JDK-8289611 -- in that it uses the bounds rather than the visual bounds of the screen. You can either look into that as well, or leave it as a fix for another day.

@openjdk
Copy link

openjdk bot commented Jul 13, 2022

@andy-goryachev-oracle 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:

8289606: CustomSecurityManagerTest fails on Mac M1

Reviewed-by: kcr

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 no new commits pushed to the master branch. If another commit should be pushed before you perform the /integrate command, your PR will be automatically rebased. If you prefer to avoid any potential automatic rebasing, please check the documentation for the /integrate command for further details.

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 (@kevinrushforth) but any other Committer may sponsor as well.

➡️ To flag this PR as ready for integration with the above commit message, type /integrate in a new comment. (Afterwards, your sponsor types /sponsor in a new comment to perform the integration).

@openjdk openjdk bot added the ready Ready to be integrated label Jul 13, 2022
@andy-goryachev-oracle
Copy link
Contributor Author

/integrate

@openjdk openjdk bot added the sponsor Ready to sponsor label Jul 13, 2022
@openjdk
Copy link

openjdk bot commented Jul 13, 2022

@andy-goryachev-oracle
Your change (at version d0bc6b1) is now ready to be sponsored by a Committer.

@kevinrushforth
Copy link
Member

/sponsor

@openjdk
Copy link

openjdk bot commented Jul 13, 2022

Going to push as commit eb8e9ef.

@openjdk openjdk bot added the integrated Pull request has been integrated label Jul 13, 2022
@openjdk openjdk bot closed this Jul 13, 2022
@openjdk openjdk bot removed ready Ready to be integrated rfr Ready for review sponsor Ready to sponsor labels Jul 13, 2022
@openjdk
Copy link

openjdk bot commented Jul 13, 2022

@kevinrushforth @andy-goryachev-oracle Pushed as commit eb8e9ef.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

@andy-goryachev-oracle andy-goryachev-oracle deleted the 8289606.custom branch July 13, 2022 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integrated Pull request has been integrated
2 participants