Bug 47299

Summary: Cannot override StandardContext in embedding case because of StandardSession.fireContainerEvent
Product: Tomcat 6 Reporter: Rob Harrop <rob.harrop>
Component: CatalinaAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 6.0.18   
Target Milestone: default   
Hardware: PC   
OS: Mac OS X 10.4   

Description Rob Harrop 2009-06-02 07:19:36 UTC
StandardSession.fireContainerEvent checks for the String class name! Why not just use an instanceof check here?
Comment 1 Mark Thomas 2009-06-02 08:09:14 UTC
This is the original reason:
http://svn.apache.org/viewvc?view=rev&revision=287710

Don't think that applies these days.
Comment 2 Mark Thomas 2009-06-05 14:40:52 UTC
Fixed in trunk and proposed for 6.0.x
Comment 3 Mark Thomas 2009-06-10 05:02:43 UTC
This has been fixed in 6.0.x and will be included in 6.0.21 onwards.