summaryrefslogtreecommitdiff
path: root/test/files/run/t7556.check
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2013-06-05 09:28:22 +0200
committerJason Zaugg <jzaugg@gmail.com>2013-06-05 09:28:22 +0200
commit28c5f730820dd76d85c2f6f81bf60aae03aabe41 (patch)
treeba8654b4686850c643b73dab6f2ee099967ec678 /test/files/run/t7556.check
parent681f2070053bc6f3133425b44083fe056bfeb1fa (diff)
downloadscala-28c5f730820dd76d85c2f6f81bf60aae03aabe41.tar.gz
scala-28c5f730820dd76d85c2f6f81bf60aae03aabe41.tar.bz2
scala-28c5f730820dd76d85c2f6f81bf60aae03aabe41.zip
SI-7556 Fix runtime reflection involving ScalaLongSignature
Scala type information is stored in classfiles in encoded in a String in the ScalaSignature annotation. When it is too big for a single String, it is split into an array of Strings in a different annotation, ScalaLongSignature. The enclosed test, with a class containing 3000 methods, uses the latter. It exposes a bug in the way runtime reflection decodes that data. It must concatentate and *then* decode, rather that the other way around.
Diffstat (limited to 'test/files/run/t7556.check')
-rw-r--r--test/files/run/t7556.check2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/files/run/t7556.check b/test/files/run/t7556.check
new file mode 100644
index 0000000000..3328708a6d
--- /dev/null
+++ b/test/files/run/t7556.check
@@ -0,0 +1,2 @@
+class annotations: List(scala.reflect.ScalaLongSignature)
+3001 decls via runtime reflection