Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(243)

Issue 51393002: Raise an exception instead of crashing when attempting to pass a MirrorReference between isolates. (Closed)

Created:
7 years, 1 month ago by rmacnak
Modified:
7 years, 1 month ago
Reviewers:
siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Raise an exception instead of crashing when attempting to pass a MirrorReference between isolates. Fix warnings in isolate illegal values tests. BUG=http://dartbug.com/14584 R=asiva@google.com Committed: https://code.google.com/p/dart/source/detail?r=29694

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -58 lines) Patch
M runtime/vm/raw_object_snapshot.cc View 1 1 chunk +8 lines, -1 line 0 comments Download
A + tests/isolate/illegal_msg_function_test.dart View 3 chunks +7 lines, -3 lines 0 comments Download
A + tests/isolate/illegal_msg_mirror_test.dart View 1 3 chunks +12 lines, -5 lines 0 comments Download
D tests/isolate/illegal_msg_test.dart View 1 chunk +0 lines, -45 lines 0 comments Download
M tests/isolate/isolate.status View 1 3 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
rmacnak
Turns out predefined classes don't go through CheckIfSerializable. Mimicking the pattern for Stacktrace instead.
7 years, 1 month ago (2013-10-29 20:54:33 UTC) #1
siva
LGTM with one comment. https://codereview.chromium.org/51393002/diff/1/runtime/vm/raw_object_snapshot.cc File runtime/vm/raw_object_snapshot.cc (right): https://codereview.chromium.org/51393002/diff/1/runtime/vm/raw_object_snapshot.cc#newcode2657 runtime/vm/raw_object_snapshot.cc:2657: if (kind == Snapshot::kFull) { ...
7 years, 1 month ago (2013-10-31 17:39:41 UTC) #2
rmacnak
On 2013/10/31 17:39:41, siva wrote: > LGTM with one comment. > > https://codereview.chromium.org/51393002/diff/1/runtime/vm/raw_object_snapshot.cc > File ...
7 years, 1 month ago (2013-10-31 20:36:02 UTC) #3
rmacnak
7 years, 1 month ago (2013-10-31 20:36:40 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 manually as r29694 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698