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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 8u40
    • 8u20
    • javafx

    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

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

            Dates

              Created:
              Updated:
              Resolved:
              Imported: