https://github.com/wildfly/wildfly/pull/4947/files#L11R51