Bug 52321 - coda/prelude order not respected
Summary: coda/prelude order not respected
Alias: None
Product: Tomcat 7
Classification: Unclassified
Component: Catalina (show other bugs)
Version: trunk
Hardware: All All
: P2 critical (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
Depends on:
Reported: 2011-12-13 00:13 UTC by romain.manni-bucau
Modified: 2011-12-13 20:21 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description romain.manni-bucau 2011-12-13 00:13:28 UTC
WebXml (http://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk/java/org/apache/catalina/deploy/WebXml.java) and in ApplicationJspConfigDescriptor (http://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/ApplicationJspConfigDescriptor.java) jspPropertyGroups are HashSet but this kind of set doesn't preserve the order in which elements are added. However it should be guaranteed to be spec compliant.

Using a LinkedHashSet instead of the HashSet fixes this issues.
Comment 1 Mark Thomas 2011-12-13 20:21:29 UTC
Thanks for the report and the suggested fix. Trunk and 7.0.x have been updated. The fix will be in 7.0.24 onwards.