Github user zzcclp commented on the issue: https://github.com/apache/spark/pull/16964 @srowen after update to master, in Eclipse IDE, there is an error in JavaConsumerStrategySuite.java line 52: `final Map<TopicPartition, Long> offsets = new HashMap<>(); offsets.put(tp1, 23L); final scala.collection.Map<TopicPartition, Object> sOffsets = JavaConverters.mapAsScalaMapConverter(offsets).asScala().mapValues( new scala.runtime.AbstractFunction1<Long, Object>() { @Override public Object apply(Long x) { return (Object) x; } } );` Error is as follows: **The method mapValues(Function1<Long,Object>) is ambiguous for the type Map<TopicPartition,Long>** Is it related to updating Java 7 to 8?
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org