[2020-02][corlib] ThreadAbortException protection for ArraySortHelper (#20468)mono-6.12.0.102
commitaf315f44c40dfb8767d64920bae2cdb8da7cc3f8
authorAleksey Kliger (λgeek) <alklig@microsoft.com>
Fri, 9 Oct 2020 14:34:28 +0000 (9 10:34 -0400)
committerGitHub <noreply@github.com>
Fri, 9 Oct 2020 14:34:28 +0000 (9 10:34 -0400)
treed8df24006afb0ed1927165ac16c5b6d00b79eb73
parentca11fb0fd819a1e32565b0d626506f66fb9fd272
[2020-02][corlib] ThreadAbortException protection for ArraySortHelper (#20468)

* [test] Abort a thread doing a long-running Array.Sort

The custom comparer is wrapped in a try/finally.  Verify that it doesn't turn
thread abort exceptions into some other exception.

Regression test for https://github.com/mono/mono/issues/15418

* Bump corert

To pick up fix for mono/mono#15418

* disable new test on platforms without Thread.Abort
external/corert
mcs/class/corlib/Test/System/ArrayTest.cs