XCOMMONS-412: XAR tools tests fail to compile on Java 1.7
Fixed.
(cherry picked from commit 0db1ee88a19b2050612ccde42d0a6c7b29a56f07)