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

Issue 2715253002: VM: remove service_object_patch.dart and all associated code. (Closed)

Created:
3 years, 9 months ago by Vyacheslav Egorov (Google)
Modified:
3 years, 9 months ago
Reviewers:
Cutch
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

VM: remove service_object_patch.dart and all associated code. This deletion has several reasons: - This code is broken and refers to non-existant private parts of dart:io (e.g. `_NativeSocket._sockets`, `_ProcessImpl._processes`, `_RandomAccessFile._files`). - This code is not reachable through the service protocol. `_serviceObjectHandler` uses `paths` to fetch the right handler from `_servicePathMap` but caller `ServiceGetIOHandler` always passes empty paths. - The only test that was attempting to test some of this code through mirrors (sic!) has been disabled since January 2015. After deletion all tests continue to pass meaning that nobody really relies on this broken code in any way. BUG=https://github.com/dart-lang/sdk/issues/28882 R=johnmccutchan@google.com Committed: https://github.com/dart-lang/sdk/commit/1c7cb7c5e911367aa3b172fe099483e32f8d5ed5

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -342 lines) Patch
M runtime/bin/io_sources.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M runtime/bin/main.cc View 2 chunks +0 lines, -74 lines 0 comments Download
D runtime/bin/service_object_patch.dart View 1 chunk +0 lines, -164 lines 0 comments Download
M runtime/vm/libraries.json View 1 chunk +0 lines, -1 line 0 comments Download
M runtime/vm/libraries.yaml View 1 chunk +0 lines, -1 line 0 comments Download
D tests/standalone/io/observatory_test.dart View 1 chunk +0 lines, -99 lines 0 comments Download
M tests/standalone/standalone.status View 2 chunks +0 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (2 generated)
Vyacheslav Egorov (Google)
Hi John! Please take a look.
3 years, 9 months ago (2017-02-27 15:03:49 UTC) #2
Cutch
Definitely old dead code. lgtm!
3 years, 9 months ago (2017-02-27 15:07:20 UTC) #3
Vyacheslav Egorov (Google)
3 years, 9 months ago (2017-02-27 15:08:20 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
1c7cb7c5e911367aa3b172fe099483e32f8d5ed5 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698