Use release instead of source/target.
When running jtreg with openjdk-8 and the agentvm it will fail to run with a message "stderr: java.lang.NoSuchMethodError:" which in turn is caused by "java.lang.NoSuchMethodError java.nio.ByteBuffer.flip()Ljava/nio/ByteBuffer".
An easy fix is to replace "source=1.7 target=1.7" with "release=7" in the ant build script.
Signed-off-by: Tiago Stürmer Daitx tiago.daitx@ubuntu.com