Re: [Pharo-project] [BUG]UndefinedObject(Object)>>doesNotUnderstand: #asSocketAddress
On Feb 13, 2012, at 8:58 PM, Sven Van Caekenberghe wrote:
Thanks for the bug report, Alexis.
Part of the solution is to change the last line of NetNameResolver class>>addressForName:timeout: to
^ result ifNotNil: [ result asSocketAddress ]
But I don't like NameLookupFailure>>#defaultAction either.
Apart from the fact that this is an extremely silly interactive action, it should call super when aborting. Retry feels very old school and ancient, it won't make a difference.
Furthermore, the contract of NetNameResolver class>>addressForName:timeout: should better not include returning nil, signaling NameLookupFailure is enough, but that might break some older code.
Comments ?
We should remove the "send bug report by mail" feature. We will later add a way to add bug reports to the bug tracker within pharo. Using email for this is not a good idea these days. Marcus -- Marcus Denker -- http://marcusdenker.de
participants (1)
-
Marcus Denker