RESTEASY-795 for trunk