StandardSession.fireContainerEvent checks for the String class name! Why not just use an instanceof check here?
This is the original reason: http://svn.apache.org/viewvc?view=rev&revision=287710 Don't think that applies these days.
Fixed in trunk and proposed for 6.0.x
This has been fixed in 6.0.x and will be included in 6.0.21 onwards.