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

Issue 10916099: load sdk libraries defined in libraries.dart (Closed)

Created:
8 years, 3 months ago by keertip
Modified:
8 years, 3 months ago
Reviewers:
danrubel
CC:
reviews_dartlang.org
Visibility:
Public.

Description

load sdk libraries defined in libraries.dart Committed: https://code.google.com/p/dart/source/detail?r=11838

Patch Set 1 #

Total comments: 6

Patch Set 2 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -85 lines) Patch
M compiler/java/com/google/dart/compiler/PackageLibraryManager.java View 2 chunks +1 line, -4 lines 0 comments Download
M compiler/java/com/google/dart/compiler/SystemLibraryManager.java View 1 6 chunks +17 lines, -81 lines 2 comments Download

Messages

Total messages: 5 (0 generated)
keertip
8 years, 3 months ago (2012-09-04 18:29:23 UTC) #1
danrubel
LGTM with a few modifications https://chromiumcodereview.appspot.com/10916099/diff/1/compiler/java/com/google/dart/compiler/SystemLibraryManager.java File compiler/java/com/google/dart/compiler/SystemLibraryManager.java (right): https://chromiumcodereview.appspot.com/10916099/diff/1/compiler/java/com/google/dart/compiler/SystemLibraryManager.java#newcode32 compiler/java/com/google/dart/compiler/SystemLibraryManager.java:32: private Map<String, DartLibrary> declaredLibraries; ...
8 years, 3 months ago (2012-09-04 18:52:21 UTC) #2
keertip
https://chromiumcodereview.appspot.com/10916099/diff/1/compiler/java/com/google/dart/compiler/SystemLibraryManager.java File compiler/java/com/google/dart/compiler/SystemLibraryManager.java (right): https://chromiumcodereview.appspot.com/10916099/diff/1/compiler/java/com/google/dart/compiler/SystemLibraryManager.java#newcode32 compiler/java/com/google/dart/compiler/SystemLibraryManager.java:32: private Map<String, DartLibrary> declaredLibraries; On 2012/09/04 18:52:22, danrubel wrote: ...
8 years, 3 months ago (2012-09-04 19:23:13 UTC) #3
danrubel
lgtm https://chromiumcodereview.appspot.com/10916099/diff/5001/compiler/java/com/google/dart/compiler/SystemLibraryManager.java File compiler/java/com/google/dart/compiler/SystemLibraryManager.java (right): https://chromiumcodereview.appspot.com/10916099/diff/5001/compiler/java/com/google/dart/compiler/SystemLibraryManager.java#newcode130 compiler/java/com/google/dart/compiler/SystemLibraryManager.java:130: if (entry.getValue().getCategory().equals("Internal")){ Will getCategory() ever return null ? ...
8 years, 3 months ago (2012-09-04 19:28:01 UTC) #4
keertip
8 years, 3 months ago (2012-09-04 19:32:41 UTC) #5
https://chromiumcodereview.appspot.com/10916099/diff/5001/compiler/java/com/g...
File compiler/java/com/google/dart/compiler/SystemLibraryManager.java (right):

https://chromiumcodereview.appspot.com/10916099/diff/5001/compiler/java/com/g...
compiler/java/com/google/dart/compiler/SystemLibraryManager.java:130: if
(entry.getValue().getCategory().equals("Internal")){
On 2012/09/04 19:28:01, danrubel wrote:
> Will getCategory() ever return null ?
> Should the .equals be flipped to account for this?

It will not return null - default setting is "Shared"

Powered by Google App Engine
This is Rietveld 408576698