can't parse java8 lambada Reference to the constructor of the array
TheNorth-sec opened this issue · 0 comments
TheNorth-sec commented
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.