-
Notifications
You must be signed in to change notification settings - Fork 465
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
8290331 Binding value left null when immediately revalidated in invalidation listener #829
Conversation
Introduced with the fluent bindings PR
👋 Welcome back jhendrikx! A progress list of the required criteria for merging this PR into |
Webrevs
|
Good catch. And yes, this needs to go into JavaFX 19. /reviewers 2 |
@kevinrushforth |
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 to me.
modules/javafx.base/src/main/java/javafx/beans/binding/ObjectBinding.java
Outdated
Show resolved
Hide resolved
/issue add JDK-8206449 |
Ah, nice, looks like that one can be closed then |
@kevinrushforth Any idea why |
This is deliberate. Commands like In any case, it is not correct to add JDK-8206449 as an additional issue fixed by this PR. Rather, JDK-8206449 is a duplicate of the previously integrated JDK-8274771. |
Alright, I closed JDK-8206449 as duplicated of JDK-8274771. |
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.
@hjohn 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 9 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@kevinrushforth) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
/integrate |
/sponsor |
Going to push as commit 4959f1b.
Your commit was automatically rebased without conflicts. |
@kevinrushforth @hjohn Pushed as commit 4959f1b. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Mailing list message from John Hendrikx on openjfx-dev: I think the issue in JDK-8206449 might not be entirely resolved. Even though `value` is now cleared in `ObjectBinding`, I noticed that I think an overhaul of ExpressionHelper might be warranted: - Doesn't clear current value when it should I also find that there is a test for ExpressionHelper, testing a ton of A good JUnit test should I think be constructed first, validating the With any luck, the test can be written in such a way that it can be --John On 15/07/2022 16:09, Nir Lisker wrote: |
I introduced a bug with the fluent bindings PR which affects all ObjectBindings.
This is the code that fails:
This PR fixes this problem and adds a test case to cover it.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jfx pull/829/head:pull/829
$ git checkout pull/829
Update a local copy of the PR:
$ git checkout pull/829
$ git pull https://git.openjdk.org/jfx pull/829/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 829
View PR using the GUI difftool:
$ git pr show -t 829
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jfx/pull/829.diff