JERSEY-2162 reproducer from https://java.net/jira/browse/JERSEY-2162