-
Notifications
You must be signed in to change notification settings - Fork 5.8k
8235404: [macos] JOptionPane blocks drawing string on another component #20359
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
👋 Welcome back achung! A progress list of the required criteria for merging this PR into |
@alisenchung 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 668 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 |
@alisenchung 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. |
Could you please add a test case to validate the fix ? |
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.
The test requires clean-up there are couple of commented lines.
JBS issue does not seem to be linked, can you check by adding.
/issue add 8235404
Test summary in jtreg needs an update
Webrevs
|
@kumarabhi006 I've updated the test from your feedback. Could you re-review the changes? |
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.
Fix looks good except for minor spacing issues.
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.
Fix itself looks like it's working fine now. I agree to handle the small comment Harshitha left already, but otherwise lgtm.
/integrate |
@alisenchung This pull request has not yet been marked as ready for integration. |
* published by the Free Software Foundation. Oracle designates this | ||
* particular file as subject to the "Classpath" exception as provided | ||
* by Oracle in the LICENSE file that accompanied this code. |
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.
Isn't the "Classpath" exception header only applicable to source code files?
Can you please verify with other test file copyright header.
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.
Good catch, I've removed the classpath portion of the copyright. Can you check over the copyright again to make sure it's correct?
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
/integrate |
Going to push as commit fc652d2.
Your commit was automatically rebased without conflicts. |
@alisenchung Pushed as commit fc652d2. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Currently if you try to use graphics to draw a string on a frame using JOptionPane + JTextField with a listener as a prompt, the string will not draw. Adding a repaint after dialog.dispose in JOptionPane will cause the text to show after the dialog is closed.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/20359/head:pull/20359
$ git checkout pull/20359
Update a local copy of the PR:
$ git checkout pull/20359
$ git pull https://git.openjdk.org/jdk.git pull/20359/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 20359
View PR using the GUI difftool:
$ git pr show -t 20359
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/20359.diff
Webrev
Link to Webrev Comment