mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8031745: Remove unneeded/obsolete -source/-target options in javac tests, part 1
Reviewed-by: jjg, sogoel
This commit is contained in:
parent
9a0f6ed18e
commit
87dec1fa1a
26 changed files with 35 additions and 179 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue