[squeak-dev] New LRUCache causing core dump

Chris Muller asqueaker at gmail.com
Sun Feb 2 17:47:14 UTC 2014


> Clearly, we cannot release with a broke PointerFinder.  So, what's the
> best fix folks?  My first reaction is a guard in Array>>#isLiteral?
>
>      isLiteral
>           ^ self class == Array and: [ (self includes: self) not and:
> [ self allSatisfy: [ : each | each isLiteral ] ] ]

And, actually, the above doesn't work because LRUCache has the
original Array two levels below...


More information about the Squeak-dev mailing list