Results 1 to 1 of 1

Thread: Patch for Ice for C#, 3.0.0 and 3.0.1

  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 Ice for C#, 3.0.0 and 3.0.1

    Attached is a patch that fixes a problem with class sequences that use the collection mapping. For example:
    Code:
    // Slice
    class A;
    sequence<A> ASeq;
    
    interface foo
    {
        ASeq op();
    }
    If the sequence contains a null element, the unmarshaling code raises an exception.

    Note that this patch is nessary only if you use the collection mapping (not the array mapping) for sequences of classes, and only if the sequence contains null references.

    The attached patch is relative to the 3.0.1 release. If you are still using 3.0.0, don't use this patch but, instead, copy the attached Patcher.cs.txt file into Patcher.cs in the source tree. (The attached Patcher.cs.txt works with both 3.0.0 and 3.0.1.)

    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. Ice.Patch.Application and Ice.Patch.Server
    By richardma in forum Help Center
    Replies: 1
    Last Post: 11-15-2007, 09:52 AM
  2. Replies: 1
    Last Post: 08-01-2006, 06:26 AM
  3. Patch for Ice for C++ 3.0.0
    By michi in forum Patches
    Replies: 4
    Last Post: 02-20-2006, 07:49 PM
  4. Patch for Ice for C#, 3.0.1
    By michi in forum Patches
    Replies: 0
    Last Post: 02-16-2006, 12:12 AM
  5. Patch 1 for Ice for C#
    By michi in forum Patches
    Replies: 0
    Last Post: 07-28-2004, 12:45 AM

Posting Permissions

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