diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2015-03-09 14:41:47 +1000 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2015-04-21 16:51:00 +1000 |
commit | 74e324da66ad43466866b4f886fc03d24c81d18f (patch) | |
tree | 36e55e034f9d5c1ed8c72ed0cca33222e4d63026 /test/files | |
parent | 7be7786a67323b5c138eab650c9bf0d23924a688 (diff) | |
download | scala-74e324da66ad43466866b4f886fc03d24c81d18f.tar.gz scala-74e324da66ad43466866b4f886fc03d24c81d18f.tar.bz2 scala-74e324da66ad43466866b4f886fc03d24c81d18f.zip |
SI-8359 Update a test to work with indylambda
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/run/t2318.scala | 1 |
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) } } |