Details
-
Bug
-
Status: Resolved
-
Resolution: Done
-
None
-
None
-
None
-
None
-
Operating System: Windows
Platform: PC
-
680
Description
I am trying to define following construct in a yang file:
container configuration {
list class {
key "name";
leaf name
leaf value { type string; }
}
}
Now, when I try to generate source using Maven, it gives below compilation error:
[ERROR] \target\generated-sources\sal\org\opendaylight\yang\gen\v1\yang03\rev150802\configuration\ClassBuilder.java:[14
,21] error: type Class does not take parameters
It appears that this construct is getting mapped to java.lang.Class
Reference thread:
https://lists.opendaylight.org/pipermail/controller-dev/2014-April/003604.html