--- a/langtools/src/share/classes/com/sun/tools/javac/file/JavacFileManager.java Mon Jun 16 13:28:00 2008 -0700
+++ b/langtools/src/share/classes/com/sun/tools/javac/file/JavacFileManager.java Tue Jun 17 10:44:32 2008 -0700
@@ -665,7 +665,8 @@
} catch (FileNotFoundException ex) {
archive = new MissingArchive(zipFileName);
} catch (IOException ex) {
- log.error("error.reading.file", zipFileName, ex.getLocalizedMessage());
+ if (zipFileName.exists())
+ log.error("error.reading.file", zipFileName, ex.getLocalizedMessage());
archive = new MissingArchive(zipFileName);
}