johnyangk commented on a change in pull request #17: [NEMO-66] Move /tests/scheduler into /runtime/master/scheduler/test URL: https://github.com/apache/incubator-nemo/pull/17#discussion_r189181291
########## File path: runtime/common/src/main/java/edu/snu/nemo/runtime/common/optimizer/pass/runtime/DataSkewRuntimePass.java ########## @@ -106,7 +106,8 @@ public PhysicalPlan apply(final PhysicalPlan originalPlan, final Map<String, Lis .map(list -> list.stream() .map(pair -> pair.left()) .max(Integer::compareTo) - .orElseThrow(() -> new DynamicOptimizationException("Cannot find max hash value in a block."))) + .<DynamicOptimizationException>orElseThrow( Review comment: I've done explicit typing here to avoid the JDK bug reported in https://stackoverflow.com/a/40865318 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services