diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2014-11-07 18:41:44 +1000 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2014-11-07 18:43:37 +1000 |
commit | 310af49e09fceac96ea715b88039a8c7a3ec8bb8 (patch) | |
tree | 5290991856cb5a56512660061659234bbbf645d4 | |
parent | ced9e167d9d2c9016e76b6db94ceea7335d37bf2 (diff) | |
download | scala-310af49e09fceac96ea715b88039a8c7a3ec8bb8.tar.gz scala-310af49e09fceac96ea715b88039a8c7a3ec8bb8.tar.bz2 scala-310af49e09fceac96ea715b88039a8c7a3ec8bb8.zip |
SI-8966 Allow use of jvm-1.8 via the Ant scalac task
This option has been allowed by the command line compiler since
ee706b873a28.
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!
-rw-r--r-- | src/compiler/scala/tools/ant/Scalac.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/ant/Scalac.scala b/src/compiler/scala/tools/ant/Scalac.scala index 1747405f03..8905c94eeb 100644 --- a/src/compiler/scala/tools/ant/Scalac.scala +++ b/src/compiler/scala/tools/ant/Scalac.scala @@ -97,7 +97,7 @@ class Scalac extends ScalaMatchingTask with ScalacShared { /** Defines valid values for the `target` property. */ object Target extends PermissibleValue { - val values = List("jvm-1.5", "jvm-1.6", "jvm-1.7") + val values = List("jvm-1.5", "jvm-1.6", "jvm-1.7", "jvm-1.8") } /** Defines valid values for the `deprecation` and `unchecked` properties. */ |