mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8173605: Remove support for source and target 1.7 option in javac
Reviewed-by: vromero
This commit is contained in:
parent
7c2f2994da
commit
2d18dda3f2
156 changed files with 182 additions and 4570 deletions
|
@ -609,7 +609,7 @@ public class SourceLauncherTest extends TestRunner {
|
|||
public void testNoOptionsWarnings(Path base) throws IOException {
|
||||
tb.writeJavaFiles(base, "public class Main { public static void main(String... args) {}}");
|
||||
String log = new JavaTask(tb)
|
||||
.vmOptions("--source", "7")
|
||||
.vmOptions("--source", "8")
|
||||
.className(base.resolve("Main.java").toString())
|
||||
.run(Task.Expect.SUCCESS)
|
||||
.getOutput(Task.OutputKind.STDERR);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue