langtools/src/jdk.jshell/share/classes/jdk/internal/jshell/tool/JShellTool.java
changeset 35000 952a7b4652f0
parent 34999 aacf94dab449
child 35812 6a6ca0bd3c14
equal deleted inserted replaced
34999:aacf94dab449 35000:952a7b4652f0
  1466                 } else {
  1466                 } else {
  1467                     hard("Warning:");
  1467                     hard("Warning:");
  1468                 }
  1468                 }
  1469             }
  1469             }
  1470 
  1470 
  1471             for (String line : diag.getMessage(null).split("\\r?\\n")) {
  1471             for (String line : diag.getMessage(null).split("\\r?\\n")) { // TODO: Internationalize
  1472                 if (!line.trim().startsWith("location:")) {
  1472                 if (!line.trim().startsWith("location:")) {
  1473                     hard("%s%s", padding, line);
  1473                     hard("%s%s", padding, line);
  1474                 }
  1474                 }
  1475             }
  1475             }
  1476 
  1476