I'm trying to use JMH plugins in IntelliJ and Eclipse. The one for IntelliJ
seems to lock up the latest version of IntelliJ, so I've built a fresh
Eclipse workspace for a clean checkout of Geode develop.

Eclipse is complaining about a single line of code in
ClusterConfigurationService.java line 389:

byte[] jarBytes = locators.stream()
        .map((DistributedMember locator) -> downloadJarFromLocator(locator,
groupName, jarName))
        .filter(Objects::nonNull).findFirst().orElseThrow(() -> new
IllegalStateException(
            "No locators have a deployed jar named " + jarName + " in " +
groupName));

The error message is:

Cannot infer type argument(s) for <R> map(Function<? super T,? extends R>)

Anyone know why Eclipse is complaining or know of a good way to fix or
unroll this line?

Reply via email to