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

TableView reference to create is ambiguous

XMLWordPrintable

      trying to do next operation
      TableView<Job> tableView1 = TableViewBuilder.<Job>create();
      where Job is a simple publis static class, and I am getting compile error
      "reference to create is ambiguous, both method create() in javafx.scene.layout.RegionBuilder and method <S>create() in javafx.scene.control.TableViewBuilder match"

      In 2.2 there was no such error.

      Code described above can be found in PrinterUI application SuppliesScreen class.

            ekrejcir Eva Krejčířová (Inactive)
            stsmirno Stanislav Smirnov (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: