Martin Thoma wrote:
>> Andreas Bröker wrote:
>> > Hello,
>> >
>> > have anybody an idea for a workaround.
>>
>> Sorry, but why do you need a workaround for an artificial problem that
>> doesn't exist in real life code? I doubt that you ever will have the
>> loop you posted as a part of a "real" program.
>
> Of course this "artificial problem" is just the simplified code of a
> "real-life" application, reduced to surround the problem as much as possible
> to make it easy for you to find the bug. I don't think that a crash after
> about 500 iterations is a problem that is "artifical". For me, it's
> definitve "mission critical" on my API-projects.

That wasn't clear from your example. I doubt that there is any real life
use case where you would retrieve *the same* interface of *the same*
object several times in a loop. So we don't need a workaround for the
example code. I understand that a similar bug appears in your
application, but I doubt that this code contains a loop as shown in the
example. If this is really your problem, the workaround would be simple:
get the interface only once - it's always the same anyway.

So I assume that you are hit by the bug in a much more complex scenario.
But without knowing where this bug hits you (or Andreas) in your real
applications nobody can suggest a workaround.

Best regards,
Mathias

-- 
Mathias Bauer - OpenOffice.org Application Framework Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a spam sink.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to