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

Applications using Control builders are not binary compatible when built with 2.2 and run with 8.0

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • 8
    • javafx

      Running application which uses builder of Control classes built with 2.2 under 8.0 ends with
      java.lang.NoSuchMethodError: javafx.scene.control.ButtonBuilder.prefWidth(D)Ljavafx/scene/control/ControlBuilder;

      The reason is that minWidth, minHeight, maxWidth, maxHeight, prefWidth, prefHeight properties are now inherited from RegionBuilder, whereas in 2.2 they were directly implemented in ControlBuilder.

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

              Created:
              Updated:
              Resolved:
              Imported: