c2nes/javalang

can't parse java8 lambada Reference to the constructor of the array

TheNorth-sec opened this issue · 0 comments

ReportEvent[] reportEvents = performanceEvents.stream().map(p -> {
EventPackage eventPackage = parseEventPackage(null, null, p, null);
return parseReportEvent(ts, commonPackage, eventPackage);
}).toArray(ReportEvent[]::new);

above code, ReportEvent[]::new will parse false.