DERBY-6612: Add code to harness tests to allow running under JDK9 VMs

Remove the use of generics to fix broken build on 10.10.


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