diff options
author | Sébastien Lesaint <sebastien.lesaint@sonarsource.com> | 2019-05-03 17:36:18 +0200 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2019-06-03 20:21:21 +0200 |
commit | e4db1c35e0bead63a16875c5f5d8e9ad149a3c4d (patch) | |
tree | ce04467f2caf2cf518f45a8859636bbc7918e9c9 /sonar-application/src/main/java | |
parent | b7c48f52ec450937c610242b7f3232223e3236b3 (diff) | |
download | sonarqube-e4db1c35e0bead63a16875c5f5d8e9ad149a3c4d.tar.gz sonarqube-e4db1c35e0bead63a16875c5f5d8e9ad149a3c4d.zip |
SONAR-12043 SchedulerImpl correctly handle Thread interrupt
Diffstat (limited to 'sonar-application/src/main/java')
-rw-r--r-- | sonar-application/src/main/java/org/sonar/application/App.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-application/src/main/java/org/sonar/application/App.java b/sonar-application/src/main/java/org/sonar/application/App.java index ef64bc03688..fffc59bd000 100644 --- a/sonar-application/src/main/java/org/sonar/application/App.java +++ b/sonar-application/src/main/java/org/sonar/application/App.java @@ -46,7 +46,7 @@ public class App { this.javaVersion = javaVersion; } - public void start(String[] cliArguments) throws IOException { + public void start(String[] cliArguments) throws IOException, InterruptedException { AppSettingsLoader settingsLoader = new AppSettingsLoaderImpl(cliArguments, new ServiceLoaderWrapper()); AppSettings settings = settingsLoader.load(); // order is important - logging must be configured before any other components (AppFileSystem, ...) @@ -91,7 +91,7 @@ public class App { } } - public static void main(String... args) throws IOException { + public static void main(String... args) throws Exception { new App(JavaVersion.INSTANCE).start(args); } |