[tests] prepares Java tests for the language level raise

This commit is contained in:
Roman Shevchenko
2017-03-24 13:09:47 +01:00
parent 05b15f593e
commit 6bd1b92c6e
38 changed files with 129 additions and 166 deletions

View File

@@ -10,7 +10,7 @@ class Test {
}
interface Bar {
Integer _(String s);
Integer m(String s);
}
}
@@ -20,7 +20,7 @@ class Test1 {
Comparable<String> c = Test1 :: length;
Comparable<Integer> c1 = Test1 :: length;
}
public static Integer length(String s) {
return s.length();
}
@@ -28,9 +28,9 @@ class Test1 {
public static Integer length(Integer s) {
return s;
}
interface Bar {
Integer _(String s);
Integer m(String s);
}
}