langtools/src/share/classes/com/sun/tools/javac/file/JavacFileManager.java
changeset 809 2106a64c0a38
parent 731 1dd22bdb9ca5
child 810 e4b6a6d206e6
equal deleted inserted replaced
731:1dd22bdb9ca5 809:2106a64c0a38
   663                     }
   663                     }
   664                 }
   664                 }
   665             } catch (FileNotFoundException ex) {
   665             } catch (FileNotFoundException ex) {
   666                 archive = new MissingArchive(zipFileName);
   666                 archive = new MissingArchive(zipFileName);
   667             } catch (IOException ex) {
   667             } catch (IOException ex) {
   668                 log.error("error.reading.file", zipFileName, ex.getLocalizedMessage());
   668                 if (zipFileName.exists())
       
   669                     log.error("error.reading.file", zipFileName, ex.getLocalizedMessage());
   669                 archive = new MissingArchive(zipFileName);
   670                 archive = new MissingArchive(zipFileName);
   670             }
   671             }
   671 
   672 
   672             archives.put(origZipFileName, archive);
   673             archives.put(origZipFileName, archive);
   673         }
   674         }