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

TableView reference to create is ambiguous

    XMLWordPrintable

    Details

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported: