missing export to fxml in base module

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: None
    • Component/s: javafx
    • None

      found in a modular build of fxml:

      src/javafx.fxml/src/main/java/javafx/fxml/FXMLLoader.java:84: error: cannot find symbol
      import static com.sun.javafx.FXPermissions.MODIFY_FXML_CLASS_LOADER_PERMISSION;
                                  ^
        symbol: class FXPermissions
        location: package com.sun.javafx

      Fix is:

      diff -r f380acccf395 modules/base/src/main/module-info/module-info.java
      --- a/modules/base/src/main/module-info/module-info.java Fri May 20 10:07:16 2016 -0700
      +++ b/modules/base/src/main/module-info/module-info.java Fri May 20 11:32:04 2016 -0700
      @@ -41,6 +41,7 @@
           exports com.sun.javafx to
               javafx.controls,
               javafx.graphics,
      + javafx.fxml,
               javafx.swing;
           exports com.sun.javafx.beans to
               javafx.controls,

            Assignee:
            David Hill (Inactive)
            Reporter:
            David Hill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: