Index: pkg/analyzer/lib/src/generated/sdk_io.dart |
diff --git a/pkg/analyzer/lib/src/generated/sdk_io.dart b/pkg/analyzer/lib/src/generated/sdk_io.dart |
index 64dbef6fadbaa1fbfc093ea5964839a93bc64453..c0b353dde4cc8ee81a927c21c61f776bba0c0365 100644 |
--- a/pkg/analyzer/lib/src/generated/sdk_io.dart |
+++ b/pkg/analyzer/lib/src/generated/sdk_io.dart |
@@ -437,7 +437,7 @@ class DirectoryBasedDartSdk implements DartSdk { |
try { |
String contents = librariesFile.readAsStringSync(); |
return new SdkLibrariesReader(useDart2jsPaths).readFromFile(librariesFile, contents); |
- } on JavaException catch (exception) { |
+ } catch (exception) { |
AnalysisEngine.instance.logger.logError2("Could not initialize the library map from ${librariesFile.getAbsolutePath()}", exception); |
return new LibraryMap(); |
} |