summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@typesafe.com>2015-05-04 11:17:59 +0200
committerLukas Rytz <lukas.rytz@typesafe.com>2015-05-04 11:17:59 +0200
commit6c75bc40c71d8688fb62759b6e1a23e5e0ba5e93 (patch)
tree2368ed2115504180cea8dd112bd73ec96e62d8af /test
parent9e29061fb75a71c271c5e0a9824aabe93bc269fe (diff)
parent3bf208fd26e0ff272e9aaf9e35446daac4a99901 (diff)
downloadscala-6c75bc40c71d8688fb62759b6e1a23e5e0ba5e93.tar.gz
scala-6c75bc40c71d8688fb62759b6e1a23e5e0ba5e93.tar.bz2
scala-6c75bc40c71d8688fb62759b6e1a23e5e0ba5e93.zip
Merge pull request #4463 from retronym/topic/indylambda-emit-indy
Use LambdaMetafactory where possible for lambda creation.
Diffstat (limited to 'test')
-rw-r--r--test/files/run/t2318.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/files/run/t2318.scala b/test/files/run/t2318.scala
index b638c433f5..4239c017b8 100644
--- a/test/files/run/t2318.scala
+++ b/test/files/run/t2318.scala
@@ -11,6 +11,7 @@ object Test {
case _: java.io.FilePermission => ()
case x: java.security.SecurityPermission if x.getName contains ".networkaddress." => () // generality ftw
case x: java.util.PropertyPermission if x.getName == "sun.net.inetaddr.ttl" => ()
+ case _: java.lang.reflect.ReflectPermission => () // needed for LambdaMetaFactory
case _ => super.checkPermission(perm)
}
}