https://bz.apache.org/bugzilla/show_bug.cgi?id=57129

--- Comment #51 from Philippe Cloutier <chea...@gmail.com> ---
(In reply to Mateusz Matela from comment #28)
> (In reply to Mark Thomas from comment #27)
> > The patch would have to be very minimal and the behaviour
> > optional to be considered for inclusion in Tomcat.
> 
> Can you explain why this has to be optional? Is there any conceivable
> scenario where someone would prefer to have non-deterministic behavior?

I would not call the behavior of Tomcat 8+ non-deterministic. It may be
*unspecified*, and it may not be as deterministic as that of previous versions,
but if we look only at the order of loading on a static system (where a package
is already installed and remains untouched), readdir's order looks at least
generally deterministic to me.

If the current order is considered determined and differs from the previous
(alphabetical) order, that means going back to the previous behavior would
change that order again, potentially causing the same kind of regressions that
the change brought. Considering that the change was released more than 8 years
ago, I do think of obvious scenarios where someone would prefer the current
behavior.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to