This forum has been archived. Please start a new discussion on GitHub.

Ice::Byte question..

Here is what I have in my idl file:

const byte TypeInput = 1;

Here is what slice2cpp generates:

const ::Ice::Byte TypeInput = 1;

Her is what slice2java generates:

package example;
// Ice version 1.3.0

public interface TypeInput
byte value = 1 - 128 ;
Is it how it is supposed to be?

My client is Java. My server is Cpp. Passing that constant value as a parameter I can't get these constants equal on both ends. Am I doing something foolishly wrong?