-
Notifications
You must be signed in to change notification settings - Fork 511
8295809: TreeTableViewSkin: memory leak when changing skin #931
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
8295809: TreeTableViewSkin: memory leak when changing skin #931
Conversation
This reverts commit 2df4a85.
…95806.table.view.skin
👋 Welcome back angorya! A progress list of the required criteria for merging this PR into |
|
must be reviewed after #929 |
8295806.table.view.skin
8295806.table.view.skin
8295809.tree.table.view.skin
@aghaisas could you please take a look at this PR? |
@@ -232,10 +232,10 @@ public static Collection<Object[]> data() { | |||
//MenuBar.class, | |||
|
|||
// | |||
PasswordField.class, | |||
//PasswordField.class, |
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 seems an unrelated change.
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 this is the last PR in the series of skin memory leak fixes, the code block will be removed.
|
||
// | ||
Spinner.class, | ||
Spinner.class |
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 seems an unrelated change.
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.
cleaned up.
@@ -274,6 +274,8 @@ public void testTreeTableRowFixedCellSizeEnabled() { | |||
assertTrue("fixed cell size enabled", isFixedCellSizeEnabled(tableRow)); | |||
} | |||
|
|||
@Ignore("JDK-8295809") // TODO probably need to verify the result of listener action, |
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.
We need to file a follow-on bug to modify or cleanup these ignored tests in future.
Use the bug ID of the newly filed bug with @Ignore
tag for these two tests.
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.
thank you for noticing! the tests are changed to validate functionality rather than implementation detail, i.e. that the tree table row skin tracks the virtual flow width with or without skin replacement.
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.
I have identified the minor changes required.
8295809.tree.table.view.skin
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.
Thanks for fixing the tests. Fix looks good now.
This will have some conflict with #805 fix though.
@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:
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 ➡️ To integrate this PR with the above commit message to the |
/integrate |
Going to push as commit 6abbe08. |
@andy-goryachev-oracle Pushed as commit 6abbe08. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
as determined by SkinMemoryLeakTest (remove line 180) and a leak tester
https://github.com/andy-goryachev-oracle/Test/blob/main/src/goryachev/apps/LeakTest.java
caused by:
NOTES:
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jfx pull/931/head:pull/931
$ git checkout pull/931
Update a local copy of the PR:
$ git checkout pull/931
$ git pull https://git.openjdk.org/jfx pull/931/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 931
View PR using the GUI difftool:
$ git pr show -t 931
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jfx/pull/931.diff