439394 load-on-startup with value 0 not preserved for quickstart

This commit is contained in:
Jan Bartel 2014-07-11 16:25:32 +10:00
parent d5c210f1c3
commit 5f77a0ef72
1 changed files with 1 additions and 1 deletions

View File

@ -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)