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

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

    XMLWordPrintable

    Details

    • Subcomponent:

      Description

      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.

        Attachments

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

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: