forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support long module path (dotnet#57335)
* Support long path * while (true) * Calculate new length based on array length * Add a test * use a smaller value to ensure that at least for DEBUG builds we test the code path that rents a bigger array from ArrayPool * add few extra asserts to the test to see why it fails in CI * Assembly.LoadFile used the way this test is implemented fails on Mono * don't run the test on Windows 7, for some reason it does not work * Apply suggestions from code review Co-authored-by: Stephen Toub <[email protected]> * handle truncated module names, simplify the implementation and dispose tmp modules before throwing exception * make sure that when the module is not found by the test, the test runner prints available module paths * Apply suggestions from code review Co-authored-by: Stephen Toub <[email protected]> * polishing Co-authored-by: NextTurn <[email protected]> Co-authored-by: Stephen Toub <[email protected]>
- Loading branch information
1 parent
0a1ff5b
commit 225acfe
Showing
2 changed files
with
45 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters