https://issues.apache.org/bugzilla/show_bug.cgi?id=57425

--- Comment #2 from Felix Schumacher <felix.schumac...@internetallee.de> ---
Created attachment 32358
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=32358&action=edit
Don't add orderedLibs attribute if it is null

The attached patch is for tomcat 8. But the same logic would apply to tomcat 7.
The file in tomcat 7 is named java/org/apache/catalina/deploy/WebXml.java. It
applies cleanly for trunk.

The idea is to not store the attribute, if it is null, since getAttribute will
give a null value, if the attribute is not present and the replicated context
fails, if the concurrent hashmap gets a null as a value or a key.

If noone objects, I will apply the patch.

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