summaryrefslogtreecommitdiff
path: root/test/files/run/reflection-sanitychecks.check
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2012-07-11 16:18:47 +0200
committerEugene Burmako <xeno.by@gmail.com>2012-08-08 09:40:36 +0200
commit81535ce5b9acadb79dc12a662519a90e3ad319d8 (patch)
tree2c37f4cd5de8408b75b102596788f2e9107668e8 /test/files/run/reflection-sanitychecks.check
parente8f1a423d1d02c488ccd8e9940c55c2d9859cf42 (diff)
downloadscala-81535ce5b9acadb79dc12a662519a90e3ad319d8.tar.gz
scala-81535ce5b9acadb79dc12a662519a90e3ad319d8.tar.bz2
scala-81535ce5b9acadb79dc12a662519a90e3ad319d8.zip
SI-5947 works around getDeclaredClasses
Our name mangling scheme w.r.t stuff nested into objects conflicts with JVM's ideas of beauty, which messes up getDeclaredClasses. Scala reflection needs getDeclaredClasses to convert between Scala and Java, so the situation looked grim. Greg suggested a workaround described in: https://issues.scala-lang.org/browse/SI-4023?focusedCommentId=54759#comment-54759. Luckily the workaround worked!
Diffstat (limited to 'test/files/run/reflection-sanitychecks.check')
-rw-r--r--test/files/run/reflection-sanitychecks.check4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/reflection-sanitychecks.check b/test/files/run/reflection-sanitychecks.check
index a1df486b51..821457a999 100644
--- a/test/files/run/reflection-sanitychecks.check
+++ b/test/files/run/reflection-sanitychecks.check
@@ -6,7 +6,7 @@ method #2: 14
constructor #1: scala.ScalaReflectionException: expected a constructor of class D, you provided method bar
constructor #2: scala.ScalaReflectionException: expected a constructor of class D, you provided constructor C
class: CC
-object: java.lang.Error: inner and nested modules are not supported yet
+object: CO
=========members of D in a mirror of D=========
field #1: 21
@@ -16,7 +16,7 @@ method #2: 14
constructor #1: scala.ScalaReflectionException: expected a constructor of class D, you provided method bar
constructor #2: an instance of class D
class: CC
-object: java.lang.Error: inner and nested modules are not supported yet
+object: CO
=========members of E in a mirror of D=========
field #1: scala.ScalaReflectionException: expected a member of class D, you provided value E.foo