Uploaded image for project: 'mdsal'
  1. mdsal
  2. MDSAL-304

Binding V2 maps identities to java.lang.Class

    XMLWordPrintable

Details

    Description

      Binding Specification V2 retails the same mapping of identities as V1. This is wrong, as it is inherently incompatible with YANG 1.1.

      Java classes provide only single inheritance, but YANG 1.1 allows identities to have multiple bases – which is not possible to realize with Class<?>.

      One way out is to make BaseIdentity an interface, which can be multiply-inherited, but that does not solve the typedef problem, which we lost track of, but became evident in MDSAL-269.

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              rovarga Robert Varga
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: