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

javafx.base module can be usefully split up further

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      os_x

      Description

      A DESCRIPTION OF THE PROBLEM :
      The build.gradle file in OpenJFX mentions that javafx.base is "also useful for non-GUI programming" or words to that effect. Yes, indeed it could be, but it depends on java.desktop for no other reason than Swing/JavaBean adapter objects. There are a few other classes that aren't really needed in server-side apps too like FXPermission.

      It would probably be useful to extract the core observables library out into a new module, perhaps javafx.observables, that javafx.base does a "requires transitive" on. The new module wouldn't depend on java.desktop. Probably the converters could also move. I can't think of a use for the event dispatch chains at the moment on the server but it probably wouldn't hurt to have it move out either.


        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kcr Kevin Rushforth
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: