Akka and Java 9 modules


(Nikolay Volnov) #1

Hi,

I’ve read ton’s of different topics but still don’t understand.

Is it possible to use Akka in Java 9 module systems?

I see that they close the issue: https://github.com/akka/akka/issues/23931

I’ve tried to add akka to my module-info and get

java.lang.module.FindException: Unable to derive module descriptor for C:\Users\Nick.m2\repository\org\scala-lang\modules\scala-java8-compat_2.12\0.8.0\scala-java8-compat_2.12-0.8.0.jar
Caused by: java.lang.IllegalArgumentException: scala.java8.compat.2.12: Invalid module name: ‘2’ is not a Java identifier

Akka actor uses this dependency.

So, anybody could manage to use Akka in modules?


(Patrik Nordwall) #2

The module system isn’t supported yet. Module name can probably be added to that dependency if you create an issue, but there will (probably) be other unsolved problems.