tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 57129] Regression. Load WEB-INF/lib jarfiles in alphabetical order
Date Mon, 01 Jun 2020 20:55:29 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=57129

--- Comment #29 from Christopher Schultz <chris@christopherschultz.net> ---
(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?

Because it's very nearly a spec violation. Assuming that users never switch
application servers, it's probably harmless. But if you use a sorting-Tomcat
and move to JBoss and your stuff stops working, JBoss will tell you the same
thing: you were relying on some wacky behavior those crazy kids at Apache
Tomcat were willing to do, and now you have to grow up and adhere to published
specifications.

> Is there any conceivable scenario where someone would prefer to
> have non-deterministic behavior?

Probably not. Why do you have JAR files that rely on specific ordering to
maintain determinism? I can't understand why someone would build an application
like that.

Your move.

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


Mime
View raw message