Make Jersey JDK6 compatible.

Change-Id: Ife703b15bbf7a271856f72360c7cb1815dbb6115