src/share/classes/com/sun/tools/javac/main/Main.java

changeset 215
9d541fd2916b
parent 194
d0b33fe8e710
child 229
03bcd66bd8e7
equal deleted inserted replaced
213:49281ea88125 215:9d541fd2916b
404 Log.printLines(log.noticeWriter, "expected diagnostic keys not found: " + log.expectDiagKeys); 404 Log.printLines(log.noticeWriter, "expected diagnostic keys not found: " + log.expectDiagKeys);
405 return EXIT_ERROR; 405 return EXIT_ERROR;
406 } 406 }
407 } 407 }
408 408
409 if (comp.errorCount() != 0 || 409 if (comp.errorCount() != 0)
410 options.get("-Werror") != null && comp.warningCount() != 0)
411 return EXIT_ERROR; 410 return EXIT_ERROR;
412 } catch (IOException ex) { 411 } catch (IOException ex) {
413 ioMessage(ex); 412 ioMessage(ex);
414 return EXIT_SYSERR; 413 return EXIT_SYSERR;
415 } catch (OutOfMemoryError ex) { 414 } catch (OutOfMemoryError ex) {

mercurial