Bug 47299 - Cannot override StandardContext in embedding case because of StandardSession.fireContainerEvent
Summary: Cannot override StandardContext in embedding case because of StandardSession....
Alias: None
Product: Tomcat 6
Classification: Unclassified
Component: Catalina (show other bugs)
Version: 6.0.18
Hardware: PC Mac OS X 10.4
: P2 normal (vote)
Target Milestone: default
Assignee: Tomcat Developers Mailing List
Depends on:
Reported: 2009-06-02 07:19 UTC by Rob Harrop
Modified: 2009-06-10 05:02 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
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:

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.