From d3304b5f1563bca8d741b01b0203b3010fb2f347 Mon Sep 17 00:00:00 2001 From: Tom Schindl Date: Fri, 15 Jun 2018 16:02:47 +0200 Subject: [PATCH] null value field upon invalidation --- .../src/main/java/javafx/beans/binding/ObjectBinding.java | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/javafx.base/src/main/java/javafx/beans/binding/ObjectBinding.java b/modules/javafx.base/src/main/java/javafx/beans/binding/ObjectBinding.java index 92a0721b3f..50545335a9 100644 --- a/modules/javafx.base/src/main/java/javafx/beans/binding/ObjectBinding.java +++ b/modules/javafx.base/src/main/java/javafx/beans/binding/ObjectBinding.java @@ -166,6 +166,7 @@ protected void onInvalidating() { public final void invalidate() { if (valid) { valid = false; + value = null; onInvalidating(); ExpressionHelper.fireValueChangedEvent(helper); }