mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 18:14:38 +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
|
@ -13,7 +13,7 @@ public class MethodRefIntColonColonNewTest {
|
|||
|
||||
static <T> SAM<T> infmethod(SAM<T> t) { return t; }
|
||||
|
||||
public static void main(String argv[]) {
|
||||
public static void meth() {
|
||||
SAM<Object> s = infmethod(int::new);
|
||||
s.m();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue