mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 02:07:06 +00:00
31ac1d26f9
Right now the implementation of `Isolate.spawnUri(<uri>, ...)` in the standalone embedder is to ignore `<uri>` and make the spawnned isolate from the same AOT snapshot as the main isolate. This is very confusing and very incorrect. Instead `Isolate.spawnUri()` should work if-and-only-if the given `<uri>` points to a valid and compatible AOT snapshot. If not, it should throw an appropriate exception. Fixes https://github.com/dart-lang/sdk/issues/48375 Fixes https://github.com/dart-lang/sdk/issues/48326 TEST=vm/dart{,_2}/spawn_uri_aot_test Change-Id: I279ace08ac1b9a9eed3ae03ebe5d9e2336c1e5c9 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/232603 Reviewed-by: Tess Strickland <sstrickl@google.com> Commit-Queue: Martin Kustermann <kustermann@google.com> |
||
---|---|---|
.. | ||
analyzer | ||
async | ||
collection | ||
convert | ||
developer | ||
html | ||
isolate | ||
js | ||
math | ||
mirrors | ||
typed_data | ||
wasm | ||
web | ||
lib_2.status | ||
lib_2_app_jit.status | ||
lib_2_dart2js.status | ||
lib_2_dartdevc.status | ||
lib_2_kernel.status | ||
lib_2_precompiled.status | ||
lib_2_vm.status |