[BUG][VM]

Andreas Raab andreas.raab at gmx.de
Thu Aug 14 21:32:40 UTC 2003


Thanks. Now fixed. BTW, why don't you write a unit test instead of the
ad-hoc piece of code? This would allow us to actually make sure the VMs
behave correctly.

Cheers,
  - Andreas


> -----Original Message-----
> From: squeak-dev-bounces at lists.squeakfoundation.org 
> [mailto:squeak-dev-bounces at lists.squeakfoundation.org] On 
> Behalf Of Tim Rowledge
> Sent: Thursday, August 14, 2003 11:02 PM
> To: squeak-dev at lists.squeakfoundation.org
> Subject: [BUG][VM]
> 
> 
> Whilst doing some work with John on getting the simulator to run a
> morphic image (not a trivial task) we found that the implementation of
> getAttribute(int id) for Acorn & win32 is incorrect. Mac & Unix both
> fail the prim for any unsupported attribute id whereas Acorn & win32
> were letting it succeed and returning an empty String. Since the code
> clearly says we should return nil, this is something to be fixed.
> 
> Test code attached; answer collection should be full of nils and a few
> strings giving the type of machine, name of OS & version, image name
> etc.
> 
> tim
> --
> Tim Rowledge, tim at sumeru.stanford.edu, http://sumeru.stanford.edu/tim
> When we write programs that "learn", it turns out we do and 
> they don't.
> 
> 



More information about the Squeak-dev mailing list