No, the issue is the endpoint using whether the oldClassLoader
is null as the state variable meaning "beforeDeliveryInvoked".
In the case where the caller has no context classloader
(this came up where c threads are attached to the VM via JNI)
this test fails, because it thinks beforeDelivery wasn't invoked.
It just needs a seperate boolean "beforeDeliveryInvoked"
which it can check in afterDelivery().
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975513#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...