| Index: compiler/java/com/google/dart/compiler/SystemLibraryManager.java
|
| ===================================================================
|
| --- compiler/java/com/google/dart/compiler/SystemLibraryManager.java (revision 5933)
|
| +++ compiler/java/com/google/dart/compiler/SystemLibraryManager.java (working copy)
|
| @@ -80,17 +80,7 @@
|
|
|
| public SystemLibraryManager(File sdkPath, String platformName) {
|
| this.sdkLibPath = new File(sdkPath, "lib").getAbsoluteFile();
|
| - try {
|
| - String path = this.sdkLibPath.toString();
|
| - if (!path.endsWith("/")) {
|
| - path += "/";
|
| - }
|
| - this.sdkLibPathUri =
|
| - new URI("file", null, path, null, null);
|
| - } catch (URISyntaxException e) {
|
| - throw new InternalCompilerException(
|
| - "Error creating URI from " + sdkLibPath.toString() + "/lib", e);
|
| - }
|
| + this.sdkLibPathUri = sdkLibPath.toURI();
|
| this.platformName = platformName;
|
| setLibraries(getDefaultLibraries());
|
| }
|
|
|