langtools/src/share/classes/com/sun/tools/sjavac/CompileJavaPackages.java
changeset 26105 30e8bff3803b
parent 26098 32588700060b
equal deleted inserted replaced
26104:34de7e01b3c1 26105:30e8bff3803b
   244                 }
   244                 }
   245                 else {
   245                 else {
   246                     requests[ii].run();
   246                     requests[ii].run();
   247                     // If there was an error, then stop early when running single threaded.
   247                     // If there was an error, then stop early when running single threaded.
   248                     if (rn[i].returnCode != 0) {
   248                     if (rn[i].returnCode != 0) {
       
   249                         Log.info(rn[i].stdout);
       
   250                         Log.error(rn[i].stderr);
   249                         return false;
   251                         return false;
   250                     }
   252                     }
   251                 }
   253                 }
   252             }
   254             }
   253         }
   255         }
   260 
   262 
   261         // Check the return values.
   263         // Check the return values.
   262         for (int i=0; i<numCompiles; ++i) {
   264         for (int i=0; i<numCompiles; ++i) {
   263             if (compileChunks[i].srcs.size() > 0) {
   265             if (compileChunks[i].srcs.size() > 0) {
   264                 if (rn[i].returnCode != 0) {
   266                 if (rn[i].returnCode != 0) {
       
   267                     Log.info(rn[i].stdout);
       
   268                     Log.error(rn[i].stderr);
   265                     rc = false;
   269                     rc = false;
   266                 }
   270                 }
   267             }
   271             }
   268         }
   272         }
   269         long duration = System.currentTimeMillis() - start;
   273         long duration = System.currentTimeMillis() - start;