summaryrefslogtreecommitdiff
path: root/test/files/run/reflection-fieldmirror-ctorparam.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/reflection-fieldmirror-ctorparam.check')
-rw-r--r--test/files/run/reflection-fieldmirror-ctorparam.check4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/files/run/reflection-fieldmirror-ctorparam.check b/test/files/run/reflection-fieldmirror-ctorparam.check
index 8b99a6f772..7ae2cec81e 100644
--- a/test/files/run/reflection-fieldmirror-ctorparam.check
+++ b/test/files/run/reflection-fieldmirror-ctorparam.check
@@ -1 +1,3 @@
-class java.lang.NoSuchFieldException: Test$A$$x
+class java.lang.Error: this Scala field isn't represented as a Java field, neither it has a Java accessor method
+note that private parameters of class constructors don't get mapped onto fields and/or accessors,
+unless they are used outside of their declaring constructors.