-
Bug
-
Resolution: Done
-
Medium
-
Nitrogen SR1
-
None
If enum value is not valid Java identifier, e.g.:
type enumeration {
enum '*'
}
V1 code generator produces invalid enum constant identifier:
public class Ipv4MulticastSourceAddress
implements Serializable {
private static final long serialVersionUID = -1734346858985024066L;
public enum Enumeration {
/**
* Any source address.
*
*/
(0, "")
;
[...]
hence compilation fails.
- blocks
-
MDSAL-317 Generated enumerations should be implementing a yang-binding Enumeration interface
- Resolved
- is duplicated by
-
MDSAL-208 Duplicate field PmfGrp.Pmf._25Gps
- Resolved
-
MDSAL-333 Special chars like "*" cannot be processed in enums
- Resolved
- relates to
-
MDSAL-269 Error occurs when mdsal binding v1 codec a "union" type
- Resolved