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

javafx.fxml should not require javafx.media or javafx.web

XMLWordPrintable

      The javafx.fxml module currently "requires" javafx.media and javafx.web. This dependency should be eliminated since media and web are optional components. Further, we don't want to force applications that use fxml to bundle media and web with their applications if they aren't using them.

      The following needs to be removed from the module-info.java of javafx.fxml:

          // TEMPORARY
          requires javafx.media;
          requires javafx.web;

      and replaced with runtime calls to "addReads" when needed.

        1. webview_example.fxml
          0.4 kB
        2. media_example.fxml
          0.9 kB
        3. FXMLTest.java
          2 kB

            vadim Vadim Pakhnushev
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: