Fix Unix issue with string address below 64kB (#7183)
authorJan Vorlicek <janvorli@microsoft.com>
Wed, 14 Sep 2016 14:59:28 +0000 (16:59 +0200)
committerJan Kotas <jkotas@microsoft.com>
Wed, 14 Sep 2016 14:59:28 +0000 (07:59 -0700)
commit4436701ea538c5ce15861eed3ee9ed57528ce032
treee063f858d3d60177b0818d36c2e44a47e5f963ba
parentf627ae79cf4828dadbb7ad3a99061e9721934fc9
Fix Unix issue with string address below 64kB (#7183)

This change fixes a problem that has started to occur in the ARM32 Linux CI
tests. A string located below 64KB in the address space is passed to the
StringObject::StringInitCharHelper and the code throws an exception since
on Windows, values below 64kB represent atoms and not strings.
This check should not be done for FEATURE_PAL though.
src/vm/object.cpp