-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[release/8.0] [mono] Disallow casts of bounded arrays to array special interfaces #93617
Conversation
The test needs to be disabled on Native AOT. We don't support arrays with non-zero lower bounds. |
Should be added to the collection here: runtime/src/tests/issues.targets Lines 1119 to 1155 in 0a188dd
|
@MichalStrehovsky @lambdageek is there an additional test that needs to be disabled? There's a failure:
|
That's the test I tried to exclude. But I think I messed up the exclude target |
Approved by tactics in email |
CI failure unrelated (KnownBuildError didn't tag it automatically): #90639 |
Backport of #93616 to release/8.0
/cc @lambdageek
Customer Impact
Customers on mobile and WebAssembly platforms using bounded array types may experience crashes if the arrays are incorrectly cast to certain generic interface types. The correct behavior is to throw an
InvalidCastException
. This may impact customers using certain versions of xUnit for testing their mobile or WASM applications.Testing
New CI test
Risk
Low