File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
java/src/dev/selenium/tools/modules Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 6060import java .nio .file .SimpleFileVisitor ;
6161import java .nio .file .StandardCopyOption ;
6262import java .nio .file .attribute .BasicFileAttributes ;
63+ import java .nio .file .charset .StandardCharsets ;
6364import java .util .Arrays ;
6465import java .util .Collection ;
6566import java .util .HashSet ;
@@ -212,7 +213,9 @@ public static void main(String[] args) throws IOException {
212213 }
213214 if (result != 0 ) {
214215 throw new RuntimeException (
215- "Unable to process module:\n " + "jdeps " + String .join (" " , jdepsArgs ) + "\n " + bos );
216+ String .format (
217+ "Unable to process module:%njdeps %s%n%s" ,
218+ String .join (" " , jdepsArgs ), bos .toString (StandardCharsets .UTF_8 )));
216219 }
217220
218221 AtomicReference <Path > moduleInfo = new AtomicReference <>();
You can’t perform that action at this time.
0 commit comments