scala-java8-compat icon indicating copy to clipboard operation
scala-java8-compat copied to clipboard

A Java 8 (and up) compatibility kit for Scala.

Results 15 scala-java8-compat issues
Sort by recently updated
recently updated
newest added

## About this PR 📦 Updates [org.scala-lang:scala-library](https://github.com/scala/scala) from `2.13.13` to `2.13.14` 📜 [GitHub Release Notes](https://github.com/scala/scala/releases/tag/v2.13.14) - [Version Diff](https://github.com/scala/scala/compare/v2.13.13...v2.13.14) ## Usage ✅ **Please merge!** I'll automatically update this PR to resolve...

## About this PR 📦 Updates [org.scala-lang:scala-library](https://github.com/scala/scala) from `2.12.18` to `2.12.19` 📜 [GitHub Release Notes](https://github.com/scala/scala/releases/tag/v2.12.19) - [Version Diff](https://github.com/scala/scala/compare/v2.12.18...v2.12.19) ## Usage ✅ **Please merge!** I'll automatically update this PR to resolve...

## About this PR 📦 Updates [org.apache.commons:commons-lang3](https://commons.apache.org/proper/commons-lang/) from `3.12.0` to `3.14.0` ## Usage ✅ **Please merge!** I'll automatically update this PR to resolve conflicts as long as you don't change...

Recent travis build: https://travis-ci.org/scala/scala-java8-compat/builds/582046003 The 2.12.8 and 2.11.12 versions show: ``` [error] /home/travis/build/scala/scala-java8-compat/target/java/scala/compat/java8/StreamShapeLowPriority.java:3:1: error: illegal combination of modifiers: public and protected [error] protected abstract class BaseStreamShape> implements scala.compat.java8.StreamShape { [error]...

https://github.com/scala/scala-java8-compat/blob/05be2b2c0e56bdda0ca0519ff5ff7e7d0f2a17be/src/main/scala/scala/concurrent/java8/FutureConvertersImpl.scala#L35 After converting a scala future to a java future, the synchronous functions are implemented by calling async ones. And it's not using the ones that are taking the extra...

I've been using the aws dynamodb async sdk, but I find that I cannot catch exceptions after I convert a `CompletableFuture` to Scala. When I run ``` client .createTable(tableSchema.createTableRequest(tableName)) .thenApply[Unit](_...

Maybe I missed it, but it would be great to have an on-line, published version of the scaladocs.

I think the [documentation](https://github.com/scala/scala-java8-compat#usage-examples) regarding function conversion is wrong (at least the java code example) and doesn't compile. To convert a java function to a scala function (like in baz)...

help wanted
good first issue

In cases like Spark, functions need to be serialized. So the FromJavaFunction and the likes should have a default constructor and be serializable.

help wanted