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
8290037: Bindings should clean up after themselves when their weak listeners go out of scope #827
Conversation
👋 Welcome back jhendrikx! A progress list of the required criteria for merging this PR into |
Webrevs
|
If we go this route it warrants updates to the API docs to describe the behavioral changes being introduced. Specifically, the synchronizing of the add / remove listener methods and any changes to the lifecycle of the bindings. /reviewers 2 |
@kevinrushforth |
@kevinrushforth has indicated that a compatibility and specification (CSR) request is needed for this pull request. @hjohn please create a CSR request for issue JDK-8290037 with the correct fix version. This pull request cannot be integrated until the CSR request is approved. |
Ah, I was hoping this was one of the routes without requiring a csr. Perhaps it needs a rethink. |
@hjohn this pull request can not be integrated into git checkout feature/cleaner-for-listeners
git fetch https://git.openjdk.org/jfx master
git merge FETCH_HEAD
# resolve conflicts and follow the instructions given by git merge
git commit -m "Merge master"
git push |
@hjohn This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
@hjohn This pull request has been inactive for more than 8 weeks and will now be automatically closed. If you would like to continue working on this pull request in the future, feel free to reopen it! This can be done using the |
This is an initial (incomplete) implementation of 8290037 for evaluation.
If the approach is agreed, I will modify the rest of the
*PropertyBase
classes which use weak listeners, and add some tests.I didn't use
Cleaner
because cleaning up a listener may block.Progress
Integration blocker
Issue
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jfx.git pull/827/head:pull/827
$ git checkout pull/827
Update a local copy of the PR:
$ git checkout pull/827
$ git pull https://git.openjdk.org/jfx.git pull/827/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 827
View PR using the GUI difftool:
$ git pr show -t 827
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jfx/pull/827.diff
Webrev
Link to Webrev Comment