| Index: compiler/java/com/google/dart/runner/BundleLibrarySource.java
|
| diff --git a/compiler/java/com/google/dart/runner/BundleLibrarySource.java b/compiler/java/com/google/dart/runner/BundleLibrarySource.java
|
| index 4b2f62b1fc9e301b71d83a9e84952eea295d5d63..6bfb401d555dc060114243d9513c6cfc42a2a174 100644
|
| --- a/compiler/java/com/google/dart/runner/BundleLibrarySource.java
|
| +++ b/compiler/java/com/google/dart/runner/BundleLibrarySource.java
|
| @@ -38,20 +38,20 @@ class BundleLibrarySource extends UrlSource implements LibrarySource {
|
| }
|
|
|
| @Override
|
| - public LibrarySource getImportFor(String filename) {
|
| + public LibrarySource getImportFor(String relPath) {
|
| try {
|
| - return new BundleLibrarySource(loader, basePath, filename);
|
| + return new BundleLibrarySource(loader, basePath, relPath);
|
| } catch (URISyntaxException e) {
|
| - throw new AssertionError();
|
| + return null;
|
| }
|
| }
|
|
|
| @Override
|
| - public DartSource getSourceFor(final String relPath) {
|
| + public DartSource getSourceFor(String relPath) {
|
| try {
|
| return new BundleDartSource(loader, basePath, relPath);
|
| } catch (URISyntaxException e) {
|
| - throw new AssertionError(e);
|
| + return null;
|
| }
|
| }
|
|
|
|
|