mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8163229: several regression tests have a main method that is never executed
Reviewed-by: vromero
This commit is contained in:
parent
06f9374e0c
commit
382fe51b6d
129 changed files with 119 additions and 191 deletions
|
@ -17,7 +17,7 @@ class MethodReference20<X> {
|
|||
|
||||
static void test(SAM<Integer> s) { }
|
||||
|
||||
public static void main(String[] args) {
|
||||
public static void meth() {
|
||||
SAM<Integer> s = MethodReference20<String>::new;
|
||||
test(MethodReference20<String>::new);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue