Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8170701

Update FXML documentation for setAccessible

XMLWordPrintable

      With the recent tightening of the restrictions on the use of setAccessible done as part of JDK-8169069, we need to update the FXML spec to indicate that applications in a named module that wish to use @FXML to annotate non-public methods or fields must explicitly allow such access by declaring this in their module-info.java file. The applications must "opens" the package(s) in question to javafx.fxml or an IllegalAccessException will be thrown.

            kcr Kevin Rushforth
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: