If an enum field in a CRD has a default value, then the Java code generated by java-gen contains an assignment of a string literal to an enum variable, which cannot be compiled. ...
In java, string is basically an object that represents sequence of char values. An array of characters works same as java string. For example: char[] ch={'j','a','v ...