Fix for MNG-4917 when JDK 1.7 profile is activated

git-svn-id: https://svn.apache.org/repos/asf/cxf/fediz/trunk@1489469 13f79535-47bb-0310-9956-ffa450edef68