Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-6909

Name collision with Java built-in method

    XMLWordPrintable

    Details

      Description

      .yang contained something like:

      container periodic-traceroute {
      ...
      leaf wait

      { ... }

      }

      compiler generated wait() method on the .java file,
      but it collides with Object#wait() which is declared final, and compilation of that file fails.

      See
      https://groups.google.com/a/onosproject.org/d/topic/brigade-dynconfig/dZwc5PI0ydw/discussion

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            y-higuchi Yuta Higuchi
            Reporter:
            y-higuchi Yuta Higuchi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: