Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Erdfelt2015-11-05 12:34:53 -0500
committerJoakim Erdfelt2015-11-05 12:34:53 -0500
commiteae38b4c28165be0a0d4901c7ed93deee4356c16 (patch)
treed9740ce3c09706fcc58016943e7697c051af6351
parentd8a52315c7fd6e0f9e571775071f9a50f22e7c4d (diff)
parentc8ec399af24708ed4888a67af2e9b97edc7b110d (diff)
downloadorg.eclipse.jetty.project-eae38b4c28165be0a0d4901c7ed93deee4356c16.tar.gz
org.eclipse.jetty.project-eae38b4c28165be0a0d4901c7ed93deee4356c16.tar.xz
org.eclipse.jetty.project-eae38b4c28165be0a0d4901c7ed93deee4356c16.zip
Merge branch 'jetty-9.3.x'
-rw-r--r--jetty-server/src/main/java/org/eclipse/jetty/server/ShutdownMonitor.java10
1 files changed, 4 insertions, 6 deletions
diff --git a/jetty-server/src/main/java/org/eclipse/jetty/server/ShutdownMonitor.java b/jetty-server/src/main/java/org/eclipse/jetty/server/ShutdownMonitor.java
index 198e5c4c25..20fc7db1ea 100644
--- a/jetty-server/src/main/java/org/eclipse/jetty/server/ShutdownMonitor.java
+++ b/jetty-server/src/main/java/org/eclipse/jetty/server/ShutdownMonitor.java
@@ -345,14 +345,12 @@ public class ShutdownMonitor
*/
private ShutdownMonitor()
{
- Properties props = System.getProperties();
-
- this.DEBUG = props.containsKey("DEBUG");
+ this.DEBUG = System.getProperty("DEBUG") != null;
// Use values passed thru via /jetty-start/
- this.host = props.getProperty("STOP.HOST","127.0.0.1");
- this.port = Integer.parseInt(props.getProperty("STOP.PORT","-1"));
- this.key = props.getProperty("STOP.KEY",null);
+ this.host = System.getProperty("STOP.HOST","127.0.0.1");
+ this.port = Integer.parseInt(System.getProperty("STOP.PORT","-1"));
+ this.key = System.getProperty("STOP.KEY",null);
this.exitVm = true;
}

Back to the top