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

@ -17,7 +17,7 @@ class MethodRefToInnerBase {
}
}
public class MethodRefToInnerWithoutOuter extends MethodRefToInnerBase {
public static void main(String[] args) {
public static void meth() {
List<String> list = new ArrayList<>();
list.stream().forEach(TestString::new);
}