8163229: several regression tests have a main method that is never executed

Reviewed-by: vromero
This commit is contained in:
Archie L. Cobbs 2023-01-17 04:43:40 +00:00 committed by Julian Waters
parent 06f9374e0c
commit 382fe51b6d
129 changed files with 119 additions and 191 deletions

View file

@ -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();
}