Re:Scala 2.12.0-RC1 released
by pjmlp on Wednesday September 07, 2016 @05:30AM
(#12441877)
You can only make use of the target flag when not making use of new bytecodes oder APIs introduced in a specific Java version.
Scala 2.12 is replacing some of their own code with Java 8 new features, so they rely on a Java 8 compatible JVM.
This will also prevent Scala 2.12 to target Android, because even Android N isn't 100% Java 8 compatible, specially the low level JVM features like invokedynamic and method handles are not supported on DEX format.
Scala 2.12 is replacing some of their own code with Java 8 new features, so they rely on a Java 8 compatible JVM.
This will also prevent Scala 2.12 to target Android, because even Android N isn't 100% Java 8 compatible, specially the low level JVM features like invokedynamic and method handles are not supported on DEX format.