commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robert burrell donkin <robertburrelldon...@blueyonder.co.uk>
Subject Re: [betwixt]: Cycles cause StackOverflowError when registering bean
Date Thu, 15 Jan 2004 23:38:06 GMT
On 15 Jan 2004, at 17:54, b p wrote:

> Hi Robert,

hi brian

> I decided to dive into betwixt source code a bit and found the problem 
> in the ElementAttributes class.  I made a quick test case and came up 
> with a simple fix that is working for me.  However, it did break other 
> unit tests because those unit tests are assuming the ids will not be 
> written, but are not calling setMapIDs(false) (it seems to me that the 
> unit tests are wrong).  I included a patch below with the test and fix 
> that you can use if you find it helpful.

you diagnosis was pretty much correct. i've just committed a patch for 
the ID generation and all the (patched) tests now run on my machine.

- robert


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message