W3C home > Mailing lists > Public > www-dom@w3.org > April to June 1998

Re: NodeIterators & Java implementation

From: Don Park <donpark@quake.net>
Date: Mon, 11 May 1998 03:20:12 -0700
Message-ID: <003501bd7cc6$6ec14290$2ee044c6@arcot-main>
To: <www-dom@w3.org>

>Would it not be possible for a Java implementation to mimic this
>COM behaviour to get around the "GC problem". I don't understand
>the Java case too well, so maybe this isn't an option. I suppose
>what you (Don) are asking for is exactly this, written into the spec.
>However, it might actually cause confusion in a COM implementation
>(DOM release on top of the COM release!)

You are right in that COM programmers will instinctively (yeah right, COM is
real natural *add some rolling eyes here *) invoke Release which will
conflict with 'release' method.  One ugly solution would be to double AddRef
to account for double release.
Better solution would be to name the release method to match the COM Release
method.  Its almost COM-ical when you think about it.


Don Park
Received on Monday, 11 May 1998 06:27:43 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:04 UTC