Archived

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

Ice 3.6.3 regression: slice2java generates invalid code

Hi folks,

I'm seeing what looks like a possible regression in the 3.6.3 release. All the errors are of this nature:

error: cannot find symbol
            __cb.__error(ex);
                ^
  symbol:   method __error(Error)
  location: variable xxxxxxxx

I have attached a sample ice file to demonstrate the problem; running though slice2java should give you the code which fails to build. This code was working with Ice 3.6.2 and earlier.

Reproduced on: Windows/VC14, MacOS X 10.12 and CentOS7, all with Ice 3.6.3.

Regards,
Roger

Tagged:

Comments

  • mes
    mes California

    Hi,

    It looks like you're compiling against a 3.6.2 (or earlier) Ice run time JAR file. If you're recompiling your Slice files with the 3.6.3 translator, you also need to use the 3.6.3 run time.

    Regards,
    Mark

  • Ah, that might well be the case. I'll double-check that, thanks.

  • Yes, I've rebuilt against the updated dependencies and this appears to fix everything. Sorry for bothering you, and thanks again.