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

Issue 1334353002: - Add getters for the current packageRoot or packageMap. (Closed)

Created:
5 years, 3 months ago by Ivan Posva
Modified:
5 years, 2 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org, Lasse Reichstein Nielsen
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

- Add getters for the current packageRoot or packageMap to the Isolate class. - Simplify loading in builtin.dart. BUG= R=asiva@google.com, lrn@google.com Committed: https://github.com/dart-lang/sdk/commit/ba6c0ace3ef417526fa6bf97082ac30e9986cca0

Patch Set 1 #

Total comments: 7

Patch Set 2 : Update tests and move to ToT. #

Total comments: 6

Patch Set 3 : Updated documentation comment. #

Total comments: 4

Patch Set 4 : Moved accessors for packageRoot/packageMap to class Isolate. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+141 lines, -61 lines) Patch
M runtime/bin/builtin.dart View 10 chunks +85 lines, -42 lines 0 comments Download
M runtime/lib/internal_patch.dart View 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/lib/isolate_patch.dart View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download
M sdk/lib/isolate/isolate.dart View 1 2 3 1 chunk +23 lines, -0 lines 2 comments Download
M tests/isolate/package_root_test.dart View 1 2 3 1 chunk +14 lines, -19 lines 0 comments Download

Messages

Total messages: 14 (3 generated)
Ivan Posva
5 years, 3 months ago (2015-09-11 17:02:46 UTC) #2
Lasse Reichstein Nielsen
Platform part LGTM. (but I'd still like to have a blocking sync version too). https://codereview.chromium.org/1334353002/diff/1/runtime/bin/builtin.dart ...
5 years, 3 months ago (2015-09-14 12:56:09 UTC) #4
siva
lgtm https://codereview.chromium.org/1334353002/diff/1/runtime/bin/platform_patch.dart File runtime/bin/platform_patch.dart (right): https://codereview.chromium.org/1334353002/diff/1/runtime/bin/platform_patch.dart#newcode21 runtime/bin/platform_patch.dart:21: var hook = VMLibraryHooks.getPackageRoot; indentation seems to be ...
5 years, 3 months ago (2015-09-14 18:12:07 UTC) #5
Lasse Reichstein Nielsen
https://codereview.chromium.org/1334353002/diff/1/sdk/lib/io/platform.dart File sdk/lib/io/platform.dart (right): https://codereview.chromium.org/1334353002/diff/1/sdk/lib/io/platform.dart#newcode194 sdk/lib/io/platform.dart:194: * not recognized. On 2015/09/14 18:12:07, siva wrote: > ...
5 years, 3 months ago (2015-09-15 07:49:53 UTC) #6
Ivan Posva
https://codereview.chromium.org/1334353002/diff/1/sdk/lib/io/platform.dart File sdk/lib/io/platform.dart (right): https://codereview.chromium.org/1334353002/diff/1/sdk/lib/io/platform.dart#newcode194 sdk/lib/io/platform.dart:194: * not recognized. On 2015/09/15 07:49:53, Lasse Reichstein Nielsen ...
5 years, 3 months ago (2015-09-22 09:42:30 UTC) #7
Lasse Reichstein Nielsen
lgtm https://codereview.chromium.org/1334353002/diff/20001/pkg/analysis_server/test/integration/integration_tests.dart File pkg/analysis_server/test/integration/integration_tests.dart (right): https://codereview.chromium.org/1334353002/diff/20001/pkg/analysis_server/test/integration/integration_tests.dart#newcode621 pkg/analysis_server/test/integration/integration_tests.dart:621: } Add a TODO to support --packages as ...
5 years, 3 months ago (2015-09-22 09:48:25 UTC) #8
Ivan Posva
On 2015/09/22 09:48:25, Lasse Reichstein Nielsen wrote: > lgtm > > https://codereview.chromium.org/1334353002/diff/20001/pkg/analysis_server/test/integration/integration_tests.dart > File pkg/analysis_server/test/integration/integration_tests.dart ...
5 years, 2 months ago (2015-10-01 11:31:55 UTC) #9
Ivan Posva
On 2015/10/01 11:31:55, Ivan Posva wrote: > On 2015/09/22 09:48:25, Lasse Reichstein Nielsen wrote: > ...
5 years, 2 months ago (2015-10-01 11:33:52 UTC) #10
Ivan Posva
Committed patchset #4 (id:60001) manually as ba6c0ace3ef417526fa6bf97082ac30e9986cca0 (presubmit successful).
5 years, 2 months ago (2015-10-03 13:53:18 UTC) #11
nweiz
https://codereview.chromium.org/1334353002/diff/60001/sdk/lib/isolate/isolate.dart File sdk/lib/isolate/isolate.dart (right): https://codereview.chromium.org/1334353002/diff/60001/sdk/lib/isolate/isolate.dart#newcode136 sdk/lib/isolate/isolate.dart:136: external static Future<Uri> get packageRoot; Are there any guarantees ...
5 years, 2 months ago (2015-10-06 23:33:21 UTC) #13
Lasse Reichstein Nielsen
5 years, 2 months ago (2015-10-07 07:48:28 UTC) #14
Message was sent while issue was closed.
https://codereview.chromium.org/1334353002/diff/60001/sdk/lib/isolate/isolate...
File sdk/lib/isolate/isolate.dart (right):

https://codereview.chromium.org/1334353002/diff/60001/sdk/lib/isolate/isolate...
sdk/lib/isolate/isolate.dart:136: external static Future<Uri> get packageRoot;
It should be absolute. We should add this to the documentation.

Powered by Google App Engine
This is Rietveld 408576698