-
Notifications
You must be signed in to change notification settings - Fork 562
8241737: TabPaneSkin memory leak on replacing selectionModel #175
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 arapte! A progress list of the required criteria for merging this PR into |
Webrevs
|
|
/reviewers 2 |
|
@kevinrushforth |
modules/javafx.controls/src/main/java/javafx/scene/control/skin/TabPaneSkin.java
Show resolved
Hide resolved
kevinrushforth
left a comment
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.
|
@arapte This change now passes all automated pre-integration checks. When the change also fulfills all project specific requirements, type
Since the source branch of this PR was last updated there have been 30 commits pushed to the ➡️ To integrate this PR with the above commit message to the |
|
/integrate |
|
@arapte The following commits have been pushed to master since your change was applied:
Your commit was automatically rebased without conflicts. Pushed as commit 91d4c8b. |
TabPaneSkinadds a listener toSelectionModel.selectedItemProperty()which holds theSelectionModelfrom being GCed. Fix is to add and remove the listener when aSelectionModelis changed.If the fix looks good, We can change all the
getSkinnable().getSelectionModel()calls to use the new class memberselectionModel.The fix seems safe to cause any regression. Enabled an ignored test that was added as part of fix for JDK-8241455.
Progress
Issue
Reviewers
Download
$ git fetch https://git.openjdk.java.net/jfx pull/175/head:pull/175$ git checkout pull/175