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

JavaFXImageBuilder does not remember backgroundLoading

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 8
    • 8
    • javafx
    • None

    Description

      It looks like the backgroundLoading else if() content was missed? If not there should at least be a comment why it is not tracked.

      diff --git a/modules/fxml/src/main/java/com/sun/javafx/fxml/builder/JavaFXImageBuilder.java b/modules/fxml/src/main/java/com/sun/javafx/fxml/builder/JavaFXImageBuilder.java
      --- a/modules/fxml/src/main/java/com/sun/javafx/fxml/builder/JavaFXImageBuilder.java
      +++ b/modules/fxml/src/main/java/com/sun/javafx/fxml/builder/JavaFXImageBuilder.java
      @@ -63,6 +63,7 @@
                   } else if ( "smooth".equals(key)) {
                       smooth = Boolean.parseBoolean(str);
                   } else if ( "backgroundLoading".equals(key)) {
      + backgroundLoading = Boolean.parseBoolean(str);
                   } else {
                       throw new IllegalArgumentException("Unknown Image property: " + key);
                   }

      Attachments

        Activity

          People

            ekrejcir Eva Krejčířová (Inactive)
            tschindl Tom Schindl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: