fixed JERSEY-741


git-svn-id: https://svn.java.net/svn/jersey~svn/trunk@5860 2fda5173-fe30-0410-90bd-98ff5453417f