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

missing export to fxml in base module

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • None
    • 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,

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

              Created:
              Updated:
              Resolved: