Ice 3.6b slice2java : fix bug in Functional_TwowayCallbackDouble.java

cwcorkcwcork Member Carl CorkOrganization: Cork DesignProject: TBD
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

  • matthewmatthew NL, CanadaMember Matthew NewhookOrganization: ZeroC, Inc.Project: Internet Communications Engine ✭✭✭
    Thanks, we've already fixed this bug for the 3.6 release.
Sign In or Register to comment.