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

[FXMLLoader]: Null builderFactory makes it impossible to load many types of classes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8u20
    • Fix Version/s: 8u40
    • Component/s: javafx
    • Labels:
    • Subcomponent:

      Description

      Setting builderfactory to null makes impossible to load anything that needs a builder (has no default constructor) or that uses a special builder (Scene, Font, Image, etc...).

      I think we should separate the concept of user-provided builder and default builder, so that the default builder is used if no user-provided builder for the class was created from provided builder factory (if any). This allows user to specify it's own builders without delegating to the JavaFXBuilderFactory explicitly.

        Attachments

          Activity

            People

            Assignee:
            msladecek Martin Sládeček
            Reporter:
            msladecek Martin Sládeček
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: