Typelist types are not Java enumerations
In 9.0, PolicyCenter typelist types are no
longer directly equivalent to Java enumerations from Gosu APIs. This
changes the behavior of the typelist type information property Enum. This is the property that
you access with code such as ContactType.Type.Enum.
In version 8.0:
- The typelist type information
property
Enumreturnstrue - In method declaration values, you could define default values for typecode parameters, in other words parameters of typelist types. See Named arguments and argument defaults.
In version 9.0:
- The typelist type information
property
Enumreturnsfalse. Search your code for uses of theEnumproperty that depend on this behavior. - In method declaration values, you cannot define default values for arguments of typecodes. If you want a similar behavior, define an additional method declaration that does not contain that typelist type argument. From the new method, call the original method and pass your original default typecode as an argument.
