Go Back   ZeroC Forums > Patches

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 03-14-2006
michi's Avatar
michi michi is offline
ZeroC Staff
 
Name: Michi Henning
Organization: ZeroC
Project: Ice
 
Join Date: Feb 2003
Location: Brisbane, Australia
Posts: 889
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
File Type: txt patch.txt (3.9 KB, 78 views)
File Type: txt Patcher.cs.txt (4.0 KB, 73 views)
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Patch for Ice-3.1.0: icegridadmin application patch bug fix mpugach Patches 1 08-01-2006 06:26 AM


All times are GMT -4. The time now is 10:29 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.