You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In RemoteValueType enum in the thrift definition, the value 8 represents ValueType_Button and ValueType_Max.
This creates an issue in the generated Java code of RemoteValueType.java since it produces a case statement which repeats the case of value 8.
Not sure whether this is problem with the enum specification in the Thrift file, or a problem with the generated Java not handling a valid instance of a repeated value.
Matt
The text was updated successfully, but these errors were encountered:
I assume min and max are only used in C/C++ to check if you get an integer from the outside world inside these bounds, so you can safely remove them from the ozw.thrift file. Feel free to patch me up!
Hi,
In RemoteValueType enum in the thrift definition, the value 8 represents ValueType_Button and ValueType_Max.
This creates an issue in the generated Java code of RemoteValueType.java since it produces a case statement which repeats the case of value 8.
Not sure whether this is problem with the enum specification in the Thrift file, or a problem with the generated Java not handling a valid instance of a repeated value.
Matt
The text was updated successfully, but these errors were encountered: