SpaceTally>>spaceForInstancesOf: crashes the VM (was: [squeak-dev] Squeak 4.5 Release Candidate 4 (13675))

David T. Lewis lewis at mail.msen.com
Sun Feb 16 13:46:30 UTC 2014


On Sat, Feb 15, 2014 at 06:52:18PM -0800, tim Rowledge wrote:
> 
> Wasn?t there some change discussed a while ago that had something to do with some number class and #new? The 13297 image says
> CompiledMethod>basicNew: size
> 
> 	self error: 'CompiledMethods may only be created with newMethod:header:? 

I should think that in addition to #basicNew: that we should also have protection
against callng #basicNew

CompiledMethod>basicNew

	self error: 'CompiledMethods may only be created with newMethod:header:'

Right?

Dave



More information about the Squeak-dev mailing list