Results 1 to 1 of 1

Thread: Patch for slice2cpp and slice2java

  1. #1
    michi's Avatar
    michi is offline Registered User
    Name: Michi Henning
    Organization: Triodia Technologies
    Project: I have a passing interest in Ice :-)
    Join Date
    Feb 2003
    Location
    Brisbane, Australia
    Posts
    1,055

    Patch for slice2cpp and slice2java

    For Ice version 1.3.0 and earlier, the slice2cpp and slice2java compilers sometimes generate incorrect code for operations with multiple exceptions in an exception specification, if one exception in the specification is a base of one or more other exceptions in the same exception specification. For example:
    Code:
    exception Base {};
    exception Derived extends Base {};
    
    interface Foo {
        void op() throws Base, Derived;
    };
    The problem appears only if the exceptions in an exception specification are related by inheritance.

    Attached is a patch for both C++ and Java. (Releases later than version 1.3.0 don't need this patch.)

    Cheers,

    Michi.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 10-20-2008, 08:49 AM
  2. slice2java slice2cpp
    By maalej in forum Help Center
    Replies: 2
    Last Post: 10-09-2007, 07:02 AM
  3. Replies: 1
    Last Post: 06-30-2006, 02:32 PM
  4. Patch for slice2cpp, release 1.5.1
    By michi in forum Patches
    Replies: 2
    Last Post: 10-29-2004, 07:04 PM
  5. Patch for slice2java, v1.5.1
    By michi in forum Patches
    Replies: 0
    Last Post: 08-19-2004, 05:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •