Skip to content

Commit 310af49

Browse files
committed
SI-8966 Allow use of jvm-1.8 via the Ant scalac task
This option has been allowed by the command line compiler since ee706b8. This commit allows use of this via Ant. Note: we still don't exploit the features of classfile version 52, but watch this space as we roll out method handle based closures soon!
1 parent ced9e16 commit 310af49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/scala/tools/ant/Scalac.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ class Scalac extends ScalaMatchingTask with ScalacShared {
9797

9898
/** Defines valid values for the `target` property. */
9999
object Target extends PermissibleValue {
100-
val values = List("jvm-1.5", "jvm-1.6", "jvm-1.7")
100+
val values = List("jvm-1.5", "jvm-1.6", "jvm-1.7", "jvm-1.8")
101101
}
102102

103103
/** Defines valid values for the `deprecation` and `unchecked` properties. */

0 commit comments

Comments
 (0)