Re: NPE in WOHTTPConnection readResponse()
Re: NPE in WOHTTPConnection readResponse()
- Subject: Re: NPE in WOHTTPConnection readResponse()
- From: Anjo Krank <email@hidden>
- Date: Wed, 23 Jan 2008 16:29:18 +0100
Am 22.01.2008 um 23:39 schrieb Mr. Pierre Frisch:
The _objects is null for an EmptyArray.
The actual bug is that _objects is allowed to be null in this case.
It's probably some weird optimization so one doesn't need to create an
empty array of T's, but _objects is a protected field and so, as it is
accessible to subclasses, should not ever be null. It never occurred
to me that it could and none of the code hinted at this possibility.
The other bug is that our collection classes end up in the build,
which I'm fixed and should be online later.
Cheers, Anjo
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden