-
Notifications
You must be signed in to change notification settings - Fork 6.2k
8365379: SU3.applyInsets may produce wrong results #27157
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
base: master
Are you sure you want to change the base?
Conversation
👋 Welcome back rkannathpari! A progress list of the required criteria for merging this PR into |
❗ This change is not yet ready to be integrated. |
@Renjithkannath 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
|
Can this change covered by the new test? |
Thank you @mrserb for the valuable suggestion. I have added a verification test for this case. |
|
* @test | ||
* @bug 8365379 | ||
* @summary Verify LineBorder edges have the same width | ||
* @modules java.desktop/com.sun.java.swing |
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.
Can we verify it w/o using internals?
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.
As you are aware existing calculation will go wrong only for non zero X & Y. As far as my understanding existing calls passing 0,0 as X,Y. so I did not find any other way w/o using internals.
FYI : summary was wrong that I have corrected.
Let me know if you have any suggestions.
Hi Reviewers,
I have updated the insets calculation, similar calculation observed in SynthGraphicsUtils.java. Reused the SwingUtilities3.java modified code
Please review and let me know your suggestions if any.
Progress
Issue
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/27157/head:pull/27157
$ git checkout pull/27157
Update a local copy of the PR:
$ git checkout pull/27157
$ git pull https://git.openjdk.org/jdk.git pull/27157/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 27157
View PR using the GUI difftool:
$ git pr show -t 27157
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/27157.diff
Using Webrev
Link to Webrev Comment