mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 12:09:16 +00:00
Merge branch '4.0.x'
Closes gh-50618
This commit is contained in:
+3
-1
@@ -138,7 +138,8 @@ class ProcessRunner {
|
||||
return process.waitFor();
|
||||
}
|
||||
catch (InterruptedException ex) {
|
||||
throw new IllegalStateException("Interrupted waiting for %s".formatted(process));
|
||||
Thread.currentThread().interrupt();
|
||||
throw new IllegalStateException("Interrupted waiting for %s".formatted(process), ex);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -190,6 +191,7 @@ class ProcessRunner {
|
||||
return this.output.toString();
|
||||
}
|
||||
catch (InterruptedException ex) {
|
||||
Thread.currentThread().interrupt();
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user