[corlib] ThreadAbortException protection for ArraySortHelper (#20467)
commit33995947275853280207e2ecbcf42578ffe087b6
authorAleksey Kliger (λgeek) <alklig@microsoft.com>
Fri, 9 Oct 2020 14:34:18 +0000 (9 10:34 -0400)
committerGitHub <noreply@github.com>
Fri, 9 Oct 2020 14:34:18 +0000 (9 10:34 -0400)
tree5195eda0ca5b34ce9d0f9e565ce6a0f54a78fd69
parent66802b505b070721550593915d01aab91f1c932e
[corlib] ThreadAbortException protection for ArraySortHelper (#20467)

* [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 https://github.com/mono/mono/issues/15418

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