DERBY-6361: Fix UnsupportedClassVersionError when running tests on Java 5

Merged revision 1575933 from 10.9.


git-svn-id: https://svn.apache.org/repos/asf/db/derby/code/branches/10.8@1576655 13f79535-47bb-0310-9956-ffa450edef68