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

Binding V2 maps identities to java.lang.Class

XMLWordPrintable

      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.

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

              Created:
              Updated:
              Resolved: