Fix for: https://issues.jboss.org/browse/SRAMP-473

https://issues.jboss.org/browse/SRAMP-473