mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 06:16:48 +00:00
fix for resolving dart core library names with "_"
Review URL: https://codereview.chromium.org//11416246 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15465 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
parent
f066ff463f
commit
52d2be32af
|
@ -43,7 +43,7 @@ public class SystemLibraryManager {
|
|||
|
||||
public URI expandRelativeDartUri(URI uri) throws AssertionError {
|
||||
String host = uri.getHost();
|
||||
if (host == null) {
|
||||
if (host == null && uri.getAuthority() == null) {
|
||||
String spec = uri.getSchemeSpecificPart();
|
||||
String replacement = expansionMap.get(spec);
|
||||
if (replacement != null) {
|
||||
|
|
Loading…
Reference in a new issue