--- old/modules/javafx.base/src/main/java/javafx/beans/property/adapter/ReadOnlyJavaBeanBooleanProperty.java 2017-05-03 15:27:08.861615369 -0700 +++ new/modules/javafx.base/src/main/java/javafx/beans/property/adapter/ReadOnlyJavaBeanBooleanProperty.java 2017-05-03 15:27:08.741615366 -0700 @@ -44,18 +44,36 @@ * {@link ReadOnlyJavaBeanBooleanPropertyBuilder} has to be used. *

* As a minimum, the Java Bean class must implement a getter 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 method, 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 Java Bean property is bound (i.e. it supports * PropertyChangeListeners), this {@code ReadOnlyJavaBeanBooleanProperty} will be * aware of changes in the Java Bean. Otherwise it can be notified about * changes by calling {@link #fireValueChangedEvent()}. *

+ *

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.ReadOnlyBooleanProperty