hornetq/hornetq — pull request #1963 by istudens (2014-11-25 15:11:20+00:00)
Title: HORNETQ-1381 create new threads under AccessControlContext of the creato...

...r of HornetQThreadFactory

This fix for HORNETQ-1381 keeps the AccessControlContext of the creator of HornetQThreadFactory while with the original fix anyone can use HornetQThreadFactory to assume the same privileges as hornetq code.

JIRA: https://issues.jboss.org/browse/HORNETQ-1381