Archived

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

Ice 3.6b slice2java : fix bug in Functional_TwowayCallbackDouble.java

Unofficial patch for Ice 3.6b java.

This patch fixes a bug in java code output by slice2java for operations returning a double. The following slice example produces code that will not compile:
module test { 

  interface TestIce 
  {
    double getDouble();
  };
};

The problem is with a wrong argument type in the file
java/src/Ice/src/main/java/IceInternal/Functional_TwowayCallbackDouble.java.

The attached patch fixes this problem.

To apply the source patch to a fresh Ice 3.6b source distribution:
> cd Ice-3.6b
> patch --binary -p1 < patch-3.6b-Functional_TwowayCallbackDouble.txt

Cheers,

Attachment not found.

Comments