dart-sdk/tests/lib_2
Martin Kustermann 31ac1d26f9 [vm] Make Isolate.spawnUri() work in AOT iff the uri is compatible AOT snapshot
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>
2022-02-14 15:18:33 +00:00
..
analyzer Normalize status files 2019-06-19 23:04:01 +00:00
async Make unawaited accept a nullable argument. 2021-09-27 11:58:16 +00:00
collection [lib/collection] Test for #48282 2022-02-08 19:36:38 +00:00
convert [vm] Alternate fix for mismatch between native and intrinsic versions of writeIntoOneByteString. 2022-01-21 19:32:40 +00:00
developer Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
html [dart:html] Fix requestFullscreen bindings and type 2022-01-25 00:24:57 +00:00
isolate [vm] Make Isolate.spawnUri() work in AOT iff the uri is compatible AOT snapshot 2022-02-14 15:18:33 +00:00
js [js_util] Add implicit downcasts to js_util methods 2022-01-28 22:28:52 +00:00
math Fix behavior for -infinity width/height of rectangles. 2021-06-21 13:29:39 +00:00
mirrors Replace Uri.scheme == with Uri.isScheme 2022-02-08 21:38:57 +00:00
typed_data [testing] Rely on language versions in the analyzer tests 2021-06-02 07:47:46 +00:00
wasm Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
web Add language versions to _2 test libraries 2021-04-26 17:58:57 +00:00
lib_2.status [test] Inform status files about the new simulated architectures. 2022-02-03 20:32:16 +00:00
lib_2_app_jit.status Remove appJit and precompiled compiler options 2019-06-24 16:07:27 +00:00
lib_2_dart2js.status Optimize js_util callMethod calls for 0-4 arguments. 2021-06-30 20:11:44 +00:00
lib_2_dartdevc.status Refactored html/js_util_test.dart and added more js_util test coverage. 2021-02-24 00:58:47 +00:00
lib_2_kernel.status [SDK] Removes non-exiting tests from .status 2021-02-04 06:46:13 +00:00
lib_2_precompiled.status Delete lib_2/async/timer_not_available_test. 2019-09-12 22:58:07 +00:00
lib_2_vm.status [test] Inform status files about the new simulated architectures. 2022-02-03 20:32:16 +00:00