To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=92150
Issue #|92150
Summary|Infinite recursion when constructing recursive UNO str
|uct
Component|udk
Version|OOo 2.3
Platform|PC
URL|
OS/Version|Linux
Status|UNCONFIRMED
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P3
Subcomponent|code
Assigned to|sb
Reported by|verigy
------- Additional comments from [EMAIL PROTECTED] Fri Jul 25 17:10:58 +0000
2008 -------
Consider the following IDL specification of a struct:
/**
Read-only, bulk data representation of a protocol frame
*/
struct ProtocolFrameDescription {
// Stereotype : CORBAStruct
//---------------------------------------------------------------------------
string name;
//---------------------------------------------------------------------------
long pinOffset;
//---------------------------------------------------------------------------
hyper cycleOffset;
//---------------------------------------------------------------------------
long width;
//---------------------------------------------------------------------------
long depth;
//---------------------------------------------------------------------------
boolean isRegister;
//---------------------------------------------------------------------------
ProtocolRegisterDescription registerDescription;
//---------------------------------------------------------------------------
sequence< ProtocolFrameDescription > children;
}; // ProtocolFrameDescription
Our testing shows that we cannot construct such a struct, presumably due to the
fact that it contains a sequence of its own type. We don’t exactly know how the
sequence construction works, but it seems that it tries to create at least one
object of its data type. If so, this explains why we run into an infinite
recursion when constructing the struct.
We would have assumed that the sequence is initially empty, and that no
recursive construction takes place. We think this is a defect.
In case of any further questions regarding this issue, you can contact
[EMAIL PROTECTED]
[EMAIL PROTECTED]
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]