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

Abdessamed MANSOURI <lav...@hotmail.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #33813|0                           |1
        is obsolete|                            |

--- Comment #7 from Abdessamed MANSOURI <lav...@hotmail.fr> ---
Created attachment 33858
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=33858&action=edit
Patch

I made ExtensionValidator non static and added it to the Server, then from
Context i get it back by walking through the hiararchy.

I made also a global validator which belongs to the JVM, the idea is, if we
couldn't get back the ExtensionValidator registred in the server we use this
global validator (i don't want the server to suffer from NPE).

I have no idea how to write the unit case for ExtensionValidator (currently
there's not test case) because available Extension and ManifestResource are
different from JVM to other.

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