previous efforts on this ran into trouble; see https://github.com/scala/scala-java8-compat/pull/114