ARIES-1006 : Get Aries building on JDK 7 - fixes for Aries util

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