--- old/modules/javafx.base/src/main/java/javafx/beans/property/adapter/JavaBeanLongProperty.java 2017-05-03 15:27:07.565615344 -0700 +++ new/modules/javafx.base/src/main/java/javafx/beans/property/adapter/JavaBeanLongProperty.java 2017-05-03 15:27:07.445615341 -0700 @@ -48,7 +48,9 @@ * {@link JavaBeanLongPropertyBuilder} has to be used. *

* As a minimum, the Java Bean class must implement a getter and a setter for the - * property. If the getter of an instance of this class is called, the property of + * property. + * The class, as well as the getter and a setter methods, must be declared public. + * If the getter of an instance of this class is called, the property of * the Java Bean is returned. If the setter is called, the value will be passed * to the Java Bean property. If the Java Bean property is bound (i.e. it supports * PropertyChangeListeners), this {@code JavaBeanLongProperty} will be @@ -58,12 +60,28 @@ * {@code JavaBeanLongProperty} will reject changes, if it is bound to an * {@link javafx.beans.value.ObservableValue ObservableValue<Long>}. *

+ *

Deploying an Application as a Module

*

- * The Java Bean class must be declared public. If that class is in a named - * module, then the module must {@link Module#isOpen(String,Module) open} - * the containing package to at least the {@code javafx.base} module - * (or {@link Module#isExported(String) export} the containing package - * unconditionally). + * If the Java Bean class is in a named module, then it must be reflectively + * accessible to the {@code javafx.base} module. + * A class is reflectively accessible if the module + * {@link Module#isOpen(String,Module) opens} the containing package to at + * least the {@code javafx.base} module. + *

+ *

+ * For example, if {@code com.foo.MyBeanClass} is in the {@code foo.app} module, + * the {@code module-info.java} might + * look like this: + *

+ * +
{@code module foo.app {
+    opens com.foo to javafx.base;
+}}
+ * + *

+ * Alternatively, a class is reflectively accessible if the module + * {@link Module#isExported(String) exports} the containing package + * unconditionally. *

* * @see javafx.beans.property.LongProperty