8031745: Remove unneeded/obsolete -source/-target options in javac tests, part 1

Reviewed-by: jjg, sogoel
This commit is contained in:
Joe Darcy 2014-01-16 18:00:25 -08:00
parent 9a0f6ed18e
commit 87dec1fa1a
26 changed files with 35 additions and 179 deletions

View file

@ -122,7 +122,7 @@ public class ByteCodeTest {
static File compile(File f) {
int rc = com.sun.tools.javac.Main.compile(new String[] {
"-source", "1.8", "-g", f.getPath() });
"-g", f.getPath() });
if (rc != 0)
throw new Error("compilation failed. rc=" + rc);
String path = f.getPath();