Status: Fixed
Owner: Benjamin.VanRyseghem.Pharo

New issue 3356 by Benjamin.VanRyseghem.Pharo: AllocationTest>>#isSafeVM
http://code.google.com/p/pharo/issues/detail?id=3356

This code

isSafeVM
        "False if the VM is a Unix VM that has not been updated to version 4.
        Earlier versions may be subject to a bug that can crash the VM when
        running AllocationTest."

self flag: #toRemove. "April 2010 dtl - remove this about one year from now"
        ^ Smalltalk isUnix not
                or: [((Smalltalk vmFullPath
                                findTokens: FileDirectory slash)
                                select: [:e | e beginsWith: '4.']) isEmpty not]

Should be changed by :

isSafeVM
        "False if the VM is a Unix VM that has not been updated to version 4.
        Earlier versions may be subject to a bug that can crash the VM when
        running AllocationTest."

self flag: #toRemove. "April 2010 dtl - remove this about one year from now"
        ^ Smalltalk isUnix not
                or: [((Smalltalk vmFullPath
                                findTokens: FileDirectory slash)
                                anySatisfy: [:e | e beginsWith: '4.'])]


Reply via email to