| Index: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/completion/ErrorRecordingContext.java
|
| diff --git a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/completion/ErrorRecordingContext.java b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/completion/ErrorRecordingContext.java
|
| index ab9a33da798bc2854aaeacb9ffbba9875052ffba..6fd52f9be2ee53420badd5b1e66b5a8e5cdfd4c4 100644
|
| --- a/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/completion/ErrorRecordingContext.java
|
| +++ b/editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/completion/ErrorRecordingContext.java
|
| @@ -27,7 +27,6 @@ import com.google.dart.compiler.metrics.CompilerMetrics;
|
| import com.google.dart.tools.core.internal.model.SystemLibraryManagerProvider;
|
| import com.google.dart.tools.core.utilities.net.URIUtilities;
|
|
|
| -import java.io.FileNotFoundException;
|
| import java.io.IOException;
|
| import java.io.Reader;
|
| import java.io.Writer;
|
| @@ -39,14 +38,8 @@ import java.util.List;
|
| class ErrorRecordingContext implements DartCompilerContext {
|
| private CompilerConfiguration configuration;
|
| {
|
| - try {
|
| - configuration = new DefaultCompilerConfiguration(new CompilerOptions(),
|
| - SystemLibraryManagerProvider.getSystemLibraryManager());
|
| - } catch (FileNotFoundException e) {
|
| - // Currently this exception is thrown only during isolation stub generation
|
| - // is specified ... a situation which we do not support.
|
| - throw new AssertionError(e);
|
| - }
|
| + configuration = new DefaultCompilerConfiguration(new CompilerOptions(),
|
| + SystemLibraryManagerProvider.getSystemLibraryManager());
|
| }
|
|
|
| private List<DartCompilationError> errors = new ArrayList<DartCompilationError>();
|
|
|