|
|
Ensure that failure to start an isolate all end up in the future.
Isolate.spawnUri can fail in many ways.
Any problem that prevents calling "main" on a loaded isolate
should end up as IsolateSpawnException in the future returned by
Isolate.spawnUri.
This CL ensures that failure to look up main is handled correctly,
and adds more tests.
R=sgjesse@google.com
Committed: https://code.google.com/p/dart/source/detail?r=36982
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+238 lines, -63 lines) |
Patch |
 |
M |
runtime/lib/isolate_patch.dart
|
View
|
1
2
|
2 chunks |
+26 lines, -8 lines |
0 comments
|
Download
|
 |
M |
runtime/vm/isolate.cc
|
View
|
1
2
|
2 chunks |
+17 lines, -7 lines |
0 comments
|
Download
|
 |
M |
tests/isolate/isolate.status
|
View
|
1
2
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
tests/isolate/isolate_create_error_helper_echo.dart
|
View
|
1
2
|
1 chunk |
+5 lines, -6 lines |
0 comments
|
Download
|
 |
A + |
tests/isolate/isolate_create_error_helper_lib.dart
|
View
|
1
2
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
A + |
tests/isolate/isolate_create_error_helper_lib2.dart
|
View
|
|
1 chunk |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
A + |
tests/isolate/isolate_create_error_helper_lib3.dart
|
View
|
1
2
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
A + |
tests/isolate/isolate_create_error_helper_lib4.dart
|
View
|
|
1 chunk |
+4 lines, -7 lines |
0 comments
|
Download
|
 |
A + |
tests/isolate/isolate_create_error_helper_lib5.dart
|
View
|
|
1 chunk |
+5 lines, -14 lines |
0 comments
|
Download
|
 |
A + |
tests/isolate/isolate_create_error_helper_syntax_error.dart
|
View
|
|
1 chunk |
+5 lines, -8 lines |
0 comments
|
Download
|
 |
A |
tests/isolate/isolate_create_error_test.dart
|
View
|
1
2
3
|
1 chunk |
+161 lines, -0 lines |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|