[reflection] Initialize default ALC gchandle in GetLoadContext (#60350)
If we try to get the ALC of an assembly from the default context before the managed default ALC object has been created, the native gchandle has a null target. Ensure it is not null by explicitly referencing the Default ALC. Fixes https://github.com/dotnet/runtime/issues/60348
Showing
想要评论请 注册 或 登录