mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +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
|
@ -57,18 +57,9 @@ public class LegacyOutputTest {
|
|||
}
|
||||
|
||||
void test() throws Exception {
|
||||
release7();
|
||||
release8();
|
||||
}
|
||||
|
||||
void release7() throws Exception {
|
||||
List<String> names = getParameterNames("7");
|
||||
if (names != null) {
|
||||
throw new AssertionError(
|
||||
"expected no MethodParameters for --release 7, actual: " + names);
|
||||
}
|
||||
}
|
||||
|
||||
void release8() throws Exception {
|
||||
List<String> names = getParameterNames("8");
|
||||
List<String> expected = Arrays.asList("x", "y");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue