Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Bartel2014-07-11 06:25:32 +0000
committerJan Bartel2014-07-11 06:25:32 +0000
commit5f77a0ef72f76eb845bd0a74a8e0b9de03932395 (patch)
treeb05e7a0027af3f431804521150ad363f824f3417 /jetty-quickstart
parentd5c210f1c3fde55718d50f1049cc401ce690e1ac (diff)
downloadorg.eclipse.jetty.project-5f77a0ef72f76eb845bd0a74a8e0b9de03932395.tar.gz
org.eclipse.jetty.project-5f77a0ef72f76eb845bd0a74a8e0b9de03932395.tar.xz
org.eclipse.jetty.project-5f77a0ef72f76eb845bd0a74a8e0b9de03932395.zip
439394 load-on-startup with value 0 not preserved for quickstart
Diffstat (limited to 'jetty-quickstart')
-rw-r--r--jetty-quickstart/src/main/java/org/eclipse/jetty/quickstart/QuickStartDescriptorGenerator.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/jetty-quickstart/src/main/java/org/eclipse/jetty/quickstart/QuickStartDescriptorGenerator.java b/jetty-quickstart/src/main/java/org/eclipse/jetty/quickstart/QuickStartDescriptorGenerator.java
index cea689bd61..5a56625fb0 100644
--- a/jetty-quickstart/src/main/java/org/eclipse/jetty/quickstart/QuickStartDescriptorGenerator.java
+++ b/jetty-quickstart/src/main/java/org/eclipse/jetty/quickstart/QuickStartDescriptorGenerator.java
@@ -593,7 +593,7 @@ public class QuickStartDescriptorGenerator
if (holder instanceof ServletHolder)
{
ServletHolder s = (ServletHolder)holder;
- if (s.getInitOrder() != 0)
+ if (s.getInitOrder() >= 0)
out.tag("load-on-startup",Integer.toString(s.getInitOrder()));
if (s.getRunAsRole() != null)

Back to the top