changeset 10098:58ac4dae137c jdk-9+141

8134600: Can't pass ObservableList as argument using FXML Reviewed-by: kcr
author jgiles
date Mon, 17 Oct 2016 11:45:10 +1300
parents 972ef1c301f4
children 58954ea3eb90 337724a7d815
files modules/javafx.fxml/src/main/java/com/sun/javafx/fxml/builder/ProxyBuilder.java
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/modules/javafx.fxml/src/main/java/com/sun/javafx/fxml/builder/ProxyBuilder.java	Fri Oct 14 11:20:06 2016 -0700
+++ b/modules/javafx.fxml/src/main/java/com/sun/javafx/fxml/builder/ProxyBuilder.java	Mon Oct 17 11:45:10 2016 +1300
@@ -447,10 +447,6 @@
             }
         }
 
-        if (Collection.class.isAssignableFrom(type)) {
-            return val;
-        }
-
         if (ArrayListWrapper.class.equals(val.getClass())) {
             // user given value is an ArrayList but the constructor doesn't
             // accept an ArrayList so the ArrayList comes from