See WFLY-233
Created attachment 776326 [details] commit
PR sent to jboss-eap, https://github.com/jbossas/jboss-eap/pull/738
https://github.com/jbossas/jboss-eap/pull/738
PR https://github.com/jbossas/jboss-eap/pull/738 is closed with unmerged. Will send a new PR with updated source.
New PR, https://github.com/jbossas/jboss-eap/pull/1041
Verified in 6.3.0.DR4 based on crosscheck between PR mentioned above and zip sources.